You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
MPCook and Shaders: Change ShaderSymbolExport to export to different .zip files when in a -MultiprocessId environment. Add part of the implementation for merging the different zip files created by CookWorkers together. The rest of the implementation requires reading from .zip files and will be coming in a future change. #rb Christopher.Waters, Zousar.Shaker #rnx #preflight 6377fcedfa348e8480e25a2b [CL 23209604 by Matt Peters in ue5-main branch]
36 lines
1.0 KiB
C#
36 lines
1.0 KiB
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
using UnrealBuildTool;
|
|
using System.IO;
|
|
|
|
public class ShaderCompilerCommon : ModuleRules
|
|
{
|
|
public ShaderCompilerCommon(ReadOnlyTargetRules Target) : base(Target)
|
|
{
|
|
PrivateDependencyModuleNames.AddRange(
|
|
new string[] {
|
|
"Core",
|
|
"RenderCore",
|
|
}
|
|
);
|
|
if (Target.bCompileAgainstEngine)
|
|
{
|
|
PublicDependencyModuleNames.AddRange(
|
|
new string[] {
|
|
"FileUtilities",
|
|
}
|
|
);
|
|
}
|
|
|
|
if (Target.Platform == UnrealTargetPlatform.Mac || Target.Platform == UnrealTargetPlatform.Win64 || Target.Platform == UnrealTargetPlatform.Linux)
|
|
{
|
|
AddEngineThirdPartyPrivateStaticDependencies(Target, "ShaderConductor");
|
|
AddEngineThirdPartyPrivateStaticDependencies(Target, "SPIRVReflect");
|
|
}
|
|
|
|
// We only need a header containing definitions
|
|
PublicSystemIncludePaths.Add(Path.Combine(Target.UEThirdPartySourceDirectory, "hlslcc/hlslcc/src/hlslcc_lib"));
|
|
PublicSystemIncludePaths.Add(Path.Combine(Target.UEThirdPartySourceDirectory, "SPIRV-Reflect/SPIRV-Reflect"));
|
|
}
|
|
}
|