Files
UnrealEngineUWP/Engine/Source/Developer/IOS/IOSTargetPlatform/IOSTargetPlatform.Build.cs
Juan Canada 2ecf4f9708 Merging //UE4/Dev-Main@10877709 to Dev-RenderPlat-Staging(//UE4/Dev-Rendering)
#rnx
#rb none

[CL 10895568 by Juan Canada in Dev-RenderPlat-Staging branch]
2020-01-07 13:45:01 -05:00

56 lines
1.3 KiB
C#

// Copyright 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",
"Sockets",
"Networking"
}
);
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",
"Runtime/Networking/Public",
}
);
if (Target.bCompileAgainstEngine)
{
PrivateDependencyModuleNames.Add("Engine");
}
if (Target.Platform == UnrealTargetPlatform.Mac)
{
PublicAdditionalLibraries.Add("/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/Current/MobileDevice");
}
}
}