Files
UnrealEngine/Engine/Plugins/Online/WebAuth/Source/WebAuth.Build.cs
2025-05-18 13:04:45 +08:00

37 lines
906 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",
}
);
PublicDefinitions.Add("WITH_WEBAUTH=1");
if (Target.Platform == UnrealTargetPlatform.IOS)
{
PrivateDependencyModuleNames.Add("ApplicationCore");
PublicFrameworks.Add("AuthenticationServices");
}
if (Target.Platform == UnrealTargetPlatform.Android)
{
PrivateDependencyModuleNames.Add("ApplicationCore");
PrivateDependencyModuleNames.Add("Launch");
string PluginPath = Utils.MakePathRelativeTo(ModuleDirectory, Target.RelativeEnginePath);
AdditionalPropertiesForReceipt.Add("AndroidPlugin", Path.Combine(PluginPath, "WebAuth_UPL.xml"));
}
}
}