You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#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]
67 lines
1.8 KiB
C#
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;
|
|
}
|
|
}
|
|
}
|