Files
UnrealEngineUWP/Engine/Source/ThirdParty/Facebook/Facebook.Build.cs
Terence Burns 80cde8f174 Upgraded the facebook SDK to Version 4.01
- Updated the identity, user, friends and sharing functionality, to use the new sdk.
- Added new frameworks for facebook. This should help reduce the amount of wirk in future upgrades.
- Adding an IOS delegates to allow listeners to deal with specific ios event. Namely, openURL.

[CL 2520701 by Terence Burns in Main branch]
2015-04-22 04:09:29 -04:00

51 lines
1.1 KiB
C#

// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
public class Facebook : ModuleRules
{
public Facebook(TargetInfo Target)
{
Type = ModuleType.External;
Definitions.Add("WITH_FACEBOOK=1");
Definitions.Add("UE4_FACEBOOK_VER=4");
if (Target.Platform == UnrealTargetPlatform.IOS)
{
// Access to Facebook core
PublicAdditionalFrameworks.Add(
new UEBuildFramework(
"FBSDKCoreKit",
"IOS/FacebookSDK/FBSDKCoreKit.embeddedframework.zip"
)
);
// Add the FBAudienceNetwork framework
PublicAdditionalFrameworks.Add(
new UEBuildFramework(
"FBAudienceNetwork",
"IOS/FacebookSDK/FBAudienceNetwork.embeddedframework.zip"
)
);
// Access to Facebook login
PublicAdditionalFrameworks.Add(
new UEBuildFramework(
"FBSDKLoginKit",
"IOS/FacebookSDK/FBSDKLoginKit.embeddedframework.zip"
)
);
// Access to Facebook sharing
PublicAdditionalFrameworks.Add(
new UEBuildFramework(
"FBSDKShareKit",
"IOS/FacebookSDK/FBSDKShareKit.embeddedframework.zip"
)
);
}
}
}