You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
34 lines
1.1 KiB
C#
34 lines
1.1 KiB
C#
// Copyright 1998-2019 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",
|
|
}
|
|
);
|
|
|
|
AddEngineThirdPartyPrivateStaticDependencies(Target, "HLSLCC");
|
|
AddEngineThirdPartyPrivateStaticDependencies(Target, "GlsLang");
|
|
|
|
if (Target.Platform != UnrealTargetPlatform.Win64 && Target.Platform != UnrealTargetPlatform.Win32 && Target.Platform != UnrealTargetPlatform.Android && Target.Platform != UnrealTargetPlatform.Linux && Target.Platform != UnrealTargetPlatform.Mac)
|
|
{
|
|
PrecompileForTargets = PrecompileTargetsType.None;
|
|
}
|
|
|
|
AddEngineThirdPartyPrivateStaticDependencies(Target, "Vulkan");
|
|
}
|
|
}
|