You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
28 lines
784 B
C#
28 lines
784 B
C#
// 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)
|
|
PublicSystemIncludePaths.Add(UEBuildConfiguration.UEThirdPartySourceDirectory + "OpenGL");
|
|
|
|
if ((Target.Platform == UnrealTargetPlatform.Win64) ||
|
|
(Target.Platform == UnrealTargetPlatform.Win32))
|
|
{
|
|
PublicAdditionalLibraries.Add("opengl32.lib");
|
|
}
|
|
else if (Target.Platform == UnrealTargetPlatform.Mac)
|
|
{
|
|
PublicAdditionalFrameworks.Add( new UEBuildFramework( "OpenGL" ) );
|
|
}
|
|
else if (Target.Platform == UnrealTargetPlatform.IOS)
|
|
{
|
|
PublicAdditionalFrameworks.Add( new UEBuildFramework( "OpenGLES" ) );
|
|
}
|
|
}
|
|
}
|