Files
UnrealEngineUWP/Engine/Source/ThirdParty/coremod/coremod.Build.cs
Ryan Vance 7c51ff94af Merging //UE4/Dev-Main to Dev-VR (//UE4/Dev-VR)
CL 1 of 8
#rb integration

[CL 4748712 by Ryan Vance in Dev-VR branch]
2019-01-17 18:54:05 -05:00

49 lines
1.6 KiB
C#

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
public class coremod: ModuleRules
{
public coremod(ReadOnlyTargetRules Target) : base(Target)
{
Type = ModuleType.External;
string CoreModVersion = "4.2.6";
string LibraryPath = Target.UEThirdPartySourceDirectory + "coremod/coremod-" + CoreModVersion + "/";
PublicIncludePaths.Add(LibraryPath + "include/coremod");
if (Target.Platform == UnrealTargetPlatform.Win64)
{
PublicLibraryPaths.Add(LibraryPath + "/lib/Win64/VS2013");
PublicAdditionalLibraries.Add("coremod.lib");
}
else if (Target.Platform == UnrealTargetPlatform.Win32)
{
PublicLibraryPaths.Add(LibraryPath + "/lib/Win32/VS2013");
PublicAdditionalLibraries.Add("coremod.lib");
}
else if (Target.Platform == UnrealTargetPlatform.Mac)
{
PublicAdditionalLibraries.Add(LibraryPath + "/lib/Mac/libcoremodMac.a");
}
else if (Target.Platform == UnrealTargetPlatform.IOS)
{
PublicLibraryPaths.Add(LibraryPath + "/lib/IOS");
}
else if (Target.IsInPlatformGroup(UnrealPlatformGroup.Unix))
{
PublicAdditionalLibraries.Add(LibraryPath + "/lib/Linux/" + Target.Architecture + "/" + "libcoremodLinux.a");
}
else if (Target.Platform == UnrealTargetPlatform.Android)
{
string AndroidPath = LibraryPath + "/lib/Android/";
// No 64bit support for Android yet
PublicLibraryPaths.Add(AndroidPath + "armeabi-v7a");
PublicLibraryPaths.Add(AndroidPath + "x86");
PublicLibraryPaths.Add(AndroidPath + "x64");
PublicAdditionalLibraries.Add("xmp-coremod");
}
}
}