Files
UnrealEngineUWP/Engine/Plugins/Runtime/ZoneGraph/Source/ZoneGraphDebug/ZoneGraphDebug.Build.cs
yoan stamant e21d4d944f [GameplayDebugger] added dedicated Target rule for GameplayDebugger
- Default behavior is preserved (i.e. Target.bBuildDeveloperTools || (Target.Configuration != UnrealTargetConfiguration.Shipping && Target.Configuration != UnrealTargetConfiguration.Test))
- Added SetupGameplayDebuggerSupport for ModuleRules that want to use GameplayDebugger. This will add required dependency and public definition (WITH_GAMEPLAY_DEBUGGER=0|1)
- Build Target can override by specifying a value to 'bUseGameplayDebugger'
#jira UE-159095
#rb mieszko.zielinski
#preflight 62d178143b057e72748ccbe3

#ROBOMERGE-OWNER: yoan.stamant
#ROBOMERGE-AUTHOR: yoan.stamant
#ROBOMERGE-SOURCE: CL 21113824 via CL 21113871 via CL 21114153
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21142398 by yoan stamant in ue5-main branch]
2022-07-17 22:41:36 -04:00

45 lines
850 B
C#

// Copyright Epic Games, Inc. All Rights Reserved.
namespace UnrealBuildTool.Rules
{
public class ZoneGraphDebug : ModuleRules
{
public ZoneGraphDebug(ReadOnlyTargetRules Target) : base(Target)
{
PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs;
PublicIncludePaths.AddRange(
new string[] {
"Runtime/AIModule/Public",
ModuleDirectory + "/Public",
}
);
PrivateIncludePaths.AddRange(
new string[] {
}
);
PublicDependencyModuleNames.AddRange(
new string[] {
"Core",
"CoreUObject",
"Engine",
"GameplayTags",
"GameplayTasks",
"AIModule",
"ZoneGraph"
}
);
if (Target.bBuildEditor == true)
{
PrivateDependencyModuleNames.Add("EditorFramework");
PrivateDependencyModuleNames.Add("UnrealEd");
}
SetupGameplayDebuggerSupport(Target);
}
}
}