2019-12-26 15:32:37 -05:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
2014-03-14 14:13:41 -04:00
|
|
|
|
|
|
|
|
using UnrealBuildTool;
|
|
|
|
|
|
|
|
|
|
public class ShaderFormatOpenGL : ModuleRules
|
|
|
|
|
{
|
2017-01-30 16:52:08 -05:00
|
|
|
public ShaderFormatOpenGL(ReadOnlyTargetRules Target) : base(Target)
|
2014-03-14 14:13:41 -04:00
|
|
|
{
|
|
|
|
|
|
|
|
|
|
PrivateIncludePathModuleNames.Add("TargetPlatform");
|
2017-03-10 15:37:02 -05:00
|
|
|
|
|
|
|
|
PrivateIncludePaths.Add("Runtime/OpenGLDrv/Private");
|
|
|
|
|
PrivateIncludePaths.Add("Runtime/OpenGLDrv/Public");
|
2014-03-14 14:13:41 -04:00
|
|
|
|
|
|
|
|
PrivateDependencyModuleNames.AddRange(
|
|
|
|
|
new string[] {
|
|
|
|
|
"Core",
|
2018-10-19 17:36:35 -04:00
|
|
|
"RenderCore",
|
2014-06-05 16:38:54 -04:00
|
|
|
"ShaderCompilerCommon",
|
2019-05-24 11:51:54 -04:00
|
|
|
"ShaderPreprocessor",
|
|
|
|
|
"RHI" // @todo platplug: this is caused by the DataDrivenShaderPlatformInfo stuff - maybe it should move to somewhere else, like RenderCore?
|
2014-03-14 14:13:41 -04:00
|
|
|
}
|
|
|
|
|
);
|
|
|
|
|
|
2016-02-03 15:40:40 -05:00
|
|
|
AddEngineThirdPartyPrivateStaticDependencies(Target,
|
2014-03-14 14:13:41 -04:00
|
|
|
"OpenGL",
|
|
|
|
|
"HLSLCC"
|
|
|
|
|
);
|
2014-07-08 00:06:17 -04:00
|
|
|
|
2019-09-14 09:45:25 -04:00
|
|
|
if (Target.IsInPlatformGroup(UnrealPlatformGroup.Linux))
|
2014-07-08 00:06:17 -04:00
|
|
|
{
|
2016-02-03 15:40:40 -05:00
|
|
|
AddEngineThirdPartyPrivateStaticDependencies(Target, "SDL2");
|
2014-07-08 00:06:17 -04:00
|
|
|
}
|
2020-10-09 22:42:26 -04:00
|
|
|
if (Target.Platform == UnrealTargetPlatform.Mac || Target.Platform == UnrealTargetPlatform.Win64 || Target.Platform == UnrealTargetPlatform.Linux)
|
2019-09-14 09:45:25 -04:00
|
|
|
{
|
2020-10-09 22:42:26 -04:00
|
|
|
AddEngineThirdPartyPrivateStaticDependencies(Target, "SPIRVReflect");
|
2019-09-14 09:45:25 -04:00
|
|
|
}
|
2014-03-14 14:13:41 -04:00
|
|
|
}
|
|
|
|
|
}
|