27 lines
613 B
C#
27 lines
613 B
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
using UnrealBuildTool;
|
|
|
|
public class OpenGL : ModuleRules
|
|
{
|
|
public OpenGL(ReadOnlyTargetRules Target) : base(Target)
|
|
{
|
|
Type = ModuleType.External;
|
|
|
|
PublicSystemIncludePaths.Add(ModuleDirectory);
|
|
|
|
if (Target.Platform.IsInGroup(UnrealPlatformGroup.Windows))
|
|
{
|
|
PublicSystemLibraries.Add("opengl32.lib");
|
|
}
|
|
else if (Target.Platform == UnrealTargetPlatform.Mac)
|
|
{
|
|
PublicFrameworks.Add("OpenGL");
|
|
PublicFrameworks.Add("QuartzCore");
|
|
}
|
|
else if (Target.Platform == UnrealTargetPlatform.IOS)
|
|
{
|
|
PublicFrameworks.Add("OpenGLES");
|
|
}
|
|
}
|
|
}
|