You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#jira UE-131184 #jira UE-124744 #rb jack.porter #[fyi] will.damon carl.lloyd axel.riffard #preflight 618e2f249e784835d570d871 #ushell-cherrypick of 18165990 by axel.riffard [CL 18598774 by will damon in ue5-main branch]
36 lines
807 B
C#
36 lines
807 B
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
using UnrealBuildTool;
|
|
using System.IO;
|
|
|
|
public class WebAuth : ModuleRules
|
|
{
|
|
public WebAuth(ReadOnlyTargetRules Target) : base(Target)
|
|
{
|
|
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
|
|
|
|
PrivateDependencyModuleNames.AddRange(
|
|
new string[]
|
|
{
|
|
"Core",
|
|
"Engine"
|
|
}
|
|
);
|
|
|
|
PublicDefinitions.Add("WITH_WEBAUTH=1");
|
|
|
|
if (Target.Platform == UnrealTargetPlatform.IOS)
|
|
{
|
|
PublicFrameworks.Add("AuthenticationServices");
|
|
}
|
|
|
|
if (Target.Platform == UnrealTargetPlatform.Android)
|
|
{
|
|
PrivateDependencyModuleNames.Add("Launch");
|
|
|
|
string PluginPath = Utils.MakePathRelativeTo(ModuleDirectory, Target.RelativeEnginePath);
|
|
AdditionalPropertiesForReceipt.Add("AndroidPlugin", Path.Combine(PluginPath, "WebAuth_UPL.xml"));
|
|
}
|
|
}
|
|
}
|