You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
49 lines
1.6 KiB
C#
49 lines
1.6 KiB
C#
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
|
|
|
|
using UnrealBuildTool;
|
|
|
|
public class coremod: ModuleRules
|
|
{
|
|
public coremod(TargetInfo Target)
|
|
{
|
|
Type = ModuleType.External;
|
|
|
|
string CoreModVersion = "4.2.6";
|
|
string LibraryPath = UEBuildConfiguration.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");
|
|
PublicAdditionalShadowFiles.Add(LibraryPath + "/lib/IOS/libcoremod.a");
|
|
}
|
|
else if (Target.Platform == UnrealTargetPlatform.Linux)
|
|
{
|
|
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");
|
|
PublicAdditionalLibraries.Add("xmp-coremod");
|
|
}
|
|
}
|
|
}
|