Files
UnrealEngineUWP/Engine/Source/Developer/VulkanShaderFormat/VulkanShaderFormat.Build.cs
ryan durand 471d972e62 Updating copyright for Engine Developer.
#rnx
#rb none


#ROBOMERGE-SOURCE: CL 10869240 via CL 10869516 via CL 10869902
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870584 by ryan durand in Main branch]
2019-12-26 15:32:37 -05:00

39 lines
1.2 KiB
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
public class VulkanShaderFormat : ModuleRules
{
public VulkanShaderFormat(ReadOnlyTargetRules Target) : base(Target)
{
PrivateIncludePathModuleNames.Add("TargetPlatform");
// Do not link the module (as that would require the vulkan dll), only the include paths
PublicIncludePaths.Add("Runtime/VulkanRHI/Public");
PrivateDependencyModuleNames.AddRange(
new string[] {
"Core",
"RenderCore",
"ShaderCompilerCommon",
"ShaderPreprocessor",
"RHI", // @todo platplug: This would not be needed if we could move FDataDriveShaderPlatformInfo (and ERHIFeatureLevel) into RenderCore or maybe its own module?
}
);
AddEngineThirdPartyPrivateStaticDependencies(Target, "HLSLCC");
AddEngineThirdPartyPrivateStaticDependencies(Target, "GlsLang");
if (Target.Platform != UnrealTargetPlatform.Win64 &&
Target.Platform != UnrealTargetPlatform.Win32 &&
Target.Platform != UnrealTargetPlatform.Android &&
!Target.IsInPlatformGroup(UnrealPlatformGroup.Linux) &&
Target.Platform != UnrealTargetPlatform.Mac)
{
PrecompileForTargets = PrecompileTargetsType.None;
}
AddEngineThirdPartyPrivateStaticDependencies(Target, "Vulkan");
}
}