You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
28 lines
743 B
C#
28 lines
743 B
C#
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
|
|
using UnrealBuildTool;
|
|
|
|
public class OpenGL : ModuleRules
|
|
{
|
|
public OpenGL(ReadOnlyTargetRules Target) : base(Target)
|
|
{
|
|
Type = ModuleType.External;
|
|
|
|
PublicIncludePaths.Add(ModuleDirectory);
|
|
|
|
if ((Target.Platform == UnrealTargetPlatform.Win64) ||
|
|
(Target.Platform == UnrealTargetPlatform.Win32))
|
|
{
|
|
PublicAdditionalLibraries.Add("opengl32.lib");
|
|
}
|
|
else if (Target.Platform == UnrealTargetPlatform.Mac)
|
|
{
|
|
PublicAdditionalFrameworks.Add(new Framework("OpenGL"));
|
|
PublicAdditionalFrameworks.Add(new Framework("QuartzCore"));
|
|
}
|
|
else if (Target.Platform == UnrealTargetPlatform.IOS)
|
|
{
|
|
PublicAdditionalFrameworks.Add(new Framework("OpenGLES"));
|
|
}
|
|
}
|
|
}
|