Files
UnrealEngineUWP/Engine/Source/Developer/ShaderFormatOpenGL/ShaderFormatOpenGL.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

49 lines
1.3 KiB
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
public class ShaderFormatOpenGL : ModuleRules
{
public ShaderFormatOpenGL(ReadOnlyTargetRules Target) : base(Target)
{
PrivateIncludePathModuleNames.Add("TargetPlatform");
PrivateIncludePaths.Add("Runtime/OpenGLDrv/Private");
PrivateIncludePaths.Add("Runtime/OpenGLDrv/Public");
PrivateDependencyModuleNames.AddRange(
new string[] {
"Core",
"RenderCore",
"ShaderCompilerCommon",
"ShaderPreprocessor",
"RHI" // @todo platplug: this is caused by the DataDrivenShaderPlatformInfo stuff - maybe it should move to somewhere else, like RenderCore?
}
);
AddEngineThirdPartyPrivateStaticDependencies(Target,
"OpenGL",
"HLSLCC"
);
if (Target.IsInPlatformGroup(UnrealPlatformGroup.Linux))
{
AddEngineThirdPartyPrivateStaticDependencies(Target, "SDL2");
}
if (Target.Platform == UnrealTargetPlatform.Mac || Target.Platform == UnrealTargetPlatform.Win64)
{
AddEngineThirdPartyPrivateStaticDependencies(Target,
"ShaderConductor",
"SPIRVReflect"
);
}
if (Target.Platform == UnrealTargetPlatform.Win64)
{
PublicDelayLoadDLLs.Add("dxcompiler_sc.dll");
PublicDelayLoadDLLs.Add("ShaderConductor.dll");
}
}
}