Files
UnrealEngineUWP/Engine/Source/Runtime/OpenGLDrv/OpenGLDrv.Build.cs
ben marsh 2b46ba7b94 Update copyright notices to 2019.
#rb none
#lockdown Nick.Penwarden

#ROBOMERGE-OWNER: ryan.gerleve
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 4662404 in //UE4/Main/...
#ROBOMERGE-BOT: ENGINE (Main -> Dev-Networking)

[CL 4662413 by ben marsh in Dev-Networking branch]
2018-12-14 13:44:01 -05:00

67 lines
1.8 KiB
C#

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
public class OpenGLDrv : ModuleRules
{
public OpenGLDrv(ReadOnlyTargetRules Target) : base(Target)
{
PrivateIncludePaths.Add("Runtime/OpenGLDrv/Private");
PrivateDependencyModuleNames.AddRange(
new string[] {
"Core",
"CoreUObject",
"ApplicationCore",
"Engine",
"RHI",
"RenderCore",
"UtilityShaders",
"PreLoadScreen"
}
);
PrivateIncludePathModuleNames.Add("ImageWrapper");
DynamicallyLoadedModuleNames.Add("ImageWrapper");
if (Target.Platform != UnrealTargetPlatform.HTML5)
{
AddEngineThirdPartyPrivateStaticDependencies(Target, "OpenGL");
}
if (Target.Platform == UnrealTargetPlatform.Linux)
{
string GLPath = Target.UEThirdPartySourceDirectory + "OpenGL/";
PublicIncludePaths.Add(GLPath);
}
if (Target.Platform == UnrealTargetPlatform.Linux || Target.Platform == UnrealTargetPlatform.HTML5)
{
AddEngineThirdPartyPrivateStaticDependencies(Target, "SDL2");
}
if (Target.Configuration != UnrealTargetConfiguration.Shipping)
{
PrivateIncludePathModuleNames.AddRange(
new string[]
{
"TaskGraph"
}
);
}
if ((Target.Platform == UnrealTargetPlatform.Android) || (Target.Platform == UnrealTargetPlatform.Lumin))
{
PrivateDependencyModuleNames.Add("detex");
}
if(Target.Platform != UnrealTargetPlatform.Win32 && Target.Platform != UnrealTargetPlatform.Win64
&& Target.Platform != UnrealTargetPlatform.IOS && Target.Platform != UnrealTargetPlatform.Android
&& Target.Platform != UnrealTargetPlatform.HTML5 && Target.Platform != UnrealTargetPlatform.Linux
&& Target.Platform != UnrealTargetPlatform.TVOS && Target.Platform != UnrealTargetPlatform.Lumin)
{
PrecompileForTargets = PrecompileTargetsType.None;
}
}
}