44 lines
1.2 KiB
C#
44 lines
1.2 KiB
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
using UnrealBuildTool;
|
|
|
|
public class OnlineSubsystemIOS : ModuleRules
|
|
{
|
|
public OnlineSubsystemIOS(ReadOnlyTargetRules Target) : base(Target)
|
|
{
|
|
PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs;
|
|
PrivateIncludePaths.AddRange(
|
|
new string[] {
|
|
"Private",
|
|
});
|
|
|
|
PublicIncludePaths.AddRange(
|
|
new string[] {
|
|
"Runtime/IOS/IOSPlatformFeatures/Public"
|
|
});
|
|
|
|
PublicDefinitions.Add("ONLINESUBSYSTEMIOS_PACKAGE=1");
|
|
|
|
PrivateDependencyModuleNames.AddRange(
|
|
new string[] {
|
|
"Core",
|
|
"CoreUObject",
|
|
"Engine",
|
|
"HTTP",
|
|
"IOSPlatformFeatures",
|
|
"OnlineSubsystem",
|
|
"Sockets",
|
|
}
|
|
);
|
|
|
|
PublicWeakFrameworks.Add("Cloudkit");
|
|
SwiftInteropHeader = System.IO.Path.Combine(ModuleDirectory, "Private/StoreKitSwiftInterop.h");
|
|
|
|
if (Target.Platform == UnrealTargetPlatform.IOS)
|
|
{
|
|
PublicWeakFrameworks.Add("MultipeerConnectivity");
|
|
PrivateDependencyModuleNames.Add("MarketplaceKit");
|
|
}
|
|
}
|
|
}
|