2014-03-14 17:13:27 -04:00
|
|
|
|
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
using UnrealBuildTool;
|
|
|
|
|
|
|
|
|
|
|
|
public class OpenGL : ModuleRules
|
|
|
|
|
|
{
|
|
|
|
|
|
public OpenGL(TargetInfo Target)
|
|
|
|
|
|
{
|
|
|
|
|
|
Type = ModuleType.External;
|
|
|
|
|
|
|
|
|
|
|
|
if (Target.Platform != UnrealTargetPlatform.HTML5)
|
2014-04-30 23:51:07 -04:00
|
|
|
|
PublicSystemIncludePaths.Add(UEBuildConfiguration.UEThirdPartyDirectory + "OpenGL");
|
2014-03-14 17:13:27 -04:00
|
|
|
|
|
|
|
|
|
|
if ((Target.Platform == UnrealTargetPlatform.Win64) ||
|
|
|
|
|
|
(Target.Platform == UnrealTargetPlatform.Win32))
|
|
|
|
|
|
{
|
|
|
|
|
|
PublicAdditionalLibraries.Add("opengl32.lib");
|
|
|
|
|
|
}
|
|
|
|
|
|
else if (Target.Platform == UnrealTargetPlatform.Mac)
|
|
|
|
|
|
{
|
Support for third party iOS framework bundled assets
* Work in progress, works with RPC utility, local mac support incoming
* Changed AdditionalPublicFrameworks from storing just string, to storing the frame work name, zip name, and bundled asset name that needs to be copied
* We also now store the module that added this framework, so we can derive the module project path, etc when we need it for when we create intermediate directories
#Codereview Josh.Adams, Peter.Sauerbrei, Michael.Noland, Gil.Gribb, Robert.Manuszewski
[CL 2068603 by John Pollard in Main branch]
2014-05-09 16:38:26 -04:00
|
|
|
|
PublicAdditionalFrameworks.Add( new UEBuildFramework( "OpenGL" ) );
|
2014-03-14 17:13:27 -04:00
|
|
|
|
}
|
|
|
|
|
|
else if (Target.Platform == UnrealTargetPlatform.IOS)
|
|
|
|
|
|
{
|
Support for third party iOS framework bundled assets
* Work in progress, works with RPC utility, local mac support incoming
* Changed AdditionalPublicFrameworks from storing just string, to storing the frame work name, zip name, and bundled asset name that needs to be copied
* We also now store the module that added this framework, so we can derive the module project path, etc when we need it for when we create intermediate directories
#Codereview Josh.Adams, Peter.Sauerbrei, Michael.Noland, Gil.Gribb, Robert.Manuszewski
[CL 2068603 by John Pollard in Main branch]
2014-05-09 16:38:26 -04:00
|
|
|
|
PublicAdditionalFrameworks.Add( new UEBuildFramework( "OpenGLES" ) );
|
2014-03-14 17:13:27 -04:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|