Files
UnrealEngineUWP/Engine/Source/Developer/Apple/MetalShaderFormat/MetalShaderFormat.Build.cs
Max Chen 4561801a81 Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor) @7119039
#rb none

[CL 7120528 by Max Chen in Dev-Editor branch]
2019-06-21 01:21:43 -04:00

54 lines
1.1 KiB
C#

// Copyright 1998-2019 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");
}
}
}