You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
54 lines
1.1 KiB
C#
54 lines
1.1 KiB
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
using UnrealBuildTool;
|
|
|
|
public class MetalShaderFormat : ModuleRules
|
|
{
|
|
public MetalShaderFormat(ReadOnlyTargetRules Target) : base(Target)
|
|
{
|
|
PrivateIncludePathModuleNames.Add("TargetPlatform");
|
|
PublicIncludePaths.Add("Runtime/Apple/MetalRHI/Public");
|
|
|
|
PrivateIncludePaths.AddRange(
|
|
new string[] {
|
|
"Developer/DerivedDataCache/Public",
|
|
}
|
|
);
|
|
|
|
PrivateDependencyModuleNames.AddRange(
|
|
new string[] {
|
|
"Core",
|
|
"RenderCore",
|
|
"ShaderCompilerCommon",
|
|
"ShaderPreprocessor",
|
|
"FileUtilities"
|
|
}
|
|
);
|
|
|
|
AddEngineThirdPartyPrivateStaticDependencies(Target,
|
|
"HLSLCC"
|
|
);
|
|
|
|
if (Target.Platform == UnrealTargetPlatform.Mac || Target.Platform == UnrealTargetPlatform.Win64)
|
|
{
|
|
AddEngineThirdPartyPrivateStaticDependencies(Target,
|
|
"ShaderConductor",
|
|
"SPIRVReflect"
|
|
);
|
|
}
|
|
|
|
DynamicallyLoadedModuleNames.AddRange(
|
|
new string[]
|
|
{
|
|
"DerivedDataCache",
|
|
}
|
|
);
|
|
|
|
if (Target.Platform == UnrealTargetPlatform.Win64)
|
|
{
|
|
PublicDelayLoadDLLs.Add("dxcompiler_sc.dll");
|
|
PublicDelayLoadDLLs.Add("ShaderConductor.dll");
|
|
}
|
|
}
|
|
}
|