Files
UnrealEngineUWP/Engine/Source/Developer/iOS/IOSTargetPlatform/IOSTargetPlatform.Build.cs
Matt Kuhlenschmidt 238fcb9d83 Merging //UE4/Dev-Main to Dev-Geometry (//UE4/Dev-Geometry)
#fyi richard.talbotwatkin, alexis.matte

#rb none

[CL 3928841 by Matt Kuhlenschmidt in Dev-Geometry branch]
2018-03-06 13:26:20 -05:00

53 lines
1.2 KiB
C#

// Copyright 1998-2018 Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
public class IOSTargetPlatform : ModuleRules
{
public IOSTargetPlatform(ReadOnlyTargetRules Target) : base(Target)
{
BinariesSubFolder = "IOS";
PrivateDependencyModuleNames.AddRange(
new string[]
{
"Core",
"CoreUObject",
"TargetPlatform",
"DesktopPlatform",
"LaunchDaemonMessages",
"Projects",
"AudioPlatformConfiguration"
}
);
PrivateIncludePathModuleNames.AddRange(
new string[] {
"MessagingCommon",
"TargetDeviceServices",
}
);
PrivateIncludePaths.Add("Developer/IOS/IOSTargetPlatform/Private");
//This is somehow necessary for getting iOS to build on, at least, windows. It seems like the target platform is included for cooking, and thus it requirtes a bunch of other info.
PublicIncludePaths.AddRange(
new string[]
{
"Runtime/Core/Public/Apple",
"Runtime/Core/Public/IOS",
}
);
if (Target.bCompileAgainstEngine)
{
PrivateDependencyModuleNames.Add("Engine");
}
if (Target.Platform == UnrealTargetPlatform.Mac)
{
PublicAdditionalLibraries.Add("/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/Current/MobileDevice");
}
}
}