Files
UnrealEngineUWP/Engine/Source/ThirdParty/LinuxNativeDialogs/LinuxNativeDialogs.Build.cs
Ben Marsh 149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00

26 lines
876 B
C#

// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
// Not really Epic, but Freenode #ue4linux's RushPL and amigo
using UnrealBuildTool;
public class LinuxNativeDialogs : ModuleRules
{
public LinuxNativeDialogs(TargetInfo Target)
{
Type = ModuleType.External;
string LNDPath = UEBuildConfiguration.UEThirdPartySourceDirectory + "LinuxNativeDialogs/UELinuxNativeDialogs/";
string LNDLibPath = LNDPath + "lib/";
Definitions.Add("WITH_LINUX_NATIVE_DIALOGS=1");
if (Target.Platform == UnrealTargetPlatform.Linux)
{
string CrossCompilingDir = (UnrealBuildTool.BuildHostPlatform.Current.Platform != UnrealTargetPlatform.Linux) ? "/NotForLicensees" : "";
PublicLibraryPaths.Add(LNDLibPath + "Linux/" + Target.Architecture + CrossCompilingDir);
PublicIncludePaths.Add(LNDPath + "include/");
PublicAdditionalLibraries.Add("LND");
}
}
}