45 lines
1.6 KiB
C#
45 lines
1.6 KiB
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
using System.IO;
|
|
using UnrealBuildTool;
|
|
using UnrealBuildTool.Rules;
|
|
|
|
public class zworld : ModuleRules
|
|
{
|
|
public zworld(ReadOnlyTargetRules Target) : base(Target)
|
|
{
|
|
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
|
|
|
|
PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "EnhancedInput"
|
|
,"Niagara", "Json", "JsonUtilities"});
|
|
|
|
PrivateDependencyModuleNames.AddRange(new string[] { "Lua", "UnLua", "Sentry" });
|
|
|
|
// Uncomment if you are using Slate UI
|
|
// PrivateDependencyModuleNames.AddRange(new string[] { "Slate", "SlateCore" });
|
|
|
|
// Uncomment if you are using online features
|
|
// PrivateDependencyModuleNames.Add("OnlineSubsystem");
|
|
|
|
// To include OnlineSubsystemSteam, add it to the plugins section in your uproject file with the Enabled attribute set to true
|
|
// 添加 Android UPL 配置
|
|
if (Target.Platform == UnrealTargetPlatform.Android)
|
|
{
|
|
// 指定UPL文件路径
|
|
string PluginPath = Path.Combine(ModuleDirectory, "DeepLink_APL.xml");
|
|
AdditionalPropertiesForReceipt.Add("AndroidPlugin", PluginPath);
|
|
}
|
|
|
|
if (Target.Platform == UnrealTargetPlatform.Win64 ||
|
|
Target.Platform == UnrealTargetPlatform.Android ||
|
|
Target.Platform == UnrealTargetPlatform.IOS)
|
|
{
|
|
PublicDefinitions.Add(string.Format("{0}={1}", "WITH_SENTRY", 1));
|
|
PublicDependencyModuleNames.AddRange(new string[]
|
|
{
|
|
"Sentry"
|
|
});
|
|
}
|
|
}
|
|
}
|