Files
UnrealEngineUWP/Engine/Source/Developer/VulkanShaderFormat/VulkanShaderFormat.Build.cs
rolando caloca 17e13e521b UE5 - Remove some hlslcc vestiges from Vulkan
#rb Dmitriy.Dyomin, Lukas.Hermanns, jeannoe.morissette

#ROBOMERGE-SOURCE: CL 17369648 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v865-17346139)

[CL 17369655 by rolando caloca in ue5-release-engine-test branch]
2021-08-31 12:04:32 -04:00

43 lines
1.4 KiB
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
using System.IO;
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, "GlsLang");
if (Target.Platform == UnrealTargetPlatform.Mac || Target.Platform == UnrealTargetPlatform.Win64 || Target.Platform == UnrealTargetPlatform.Linux)
{
AddEngineThirdPartyPrivateStaticDependencies(Target, "SPIRVReflect");
}
if (Target.Platform != UnrealTargetPlatform.Win64 &&
Target.Platform != UnrealTargetPlatform.Android &&
!Target.IsInPlatformGroup(UnrealPlatformGroup.Linux) &&
Target.Platform != UnrealTargetPlatform.Mac)
{
PrecompileForTargets = PrecompileTargetsType.None;
}
AddEngineThirdPartyPrivateStaticDependencies(Target, "Vulkan");
}
}