Files
UnrealEngineUWP/Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/StateTreeModule.Build.cs
yoan stamant 64c8dca7cb [StateTreeDebugger]
Initial version of the debugger
- currently compiled by StateTreeModule and StateTreeEditorModule using WITH_STATETREE_DEBUGGER
- currently not exposed to UI by StateTree settings 'bUseDebugger'
- in this version only one instance per asset can be debugged
- using Trace services to read events generated by statetree instances.
- can connect to any traces (Editor, Client, Server) as long as the compiled statetree matches
#rb mieszko.zielinski
#preflight 641088a30e1f02786b509663

[CL 24639409 by yoan stamant in ue5-main branch]
2023-03-14 13:35:46 -04:00

62 lines
1.1 KiB
C#

// Copyright Epic Games, Inc. All Rights Reserved.
namespace UnrealBuildTool.Rules
{
public class StateTreeModule : ModuleRules
{
public StateTreeModule(ReadOnlyTargetRules Target) : base(Target)
{
PublicIncludePaths.AddRange(
new string[] {
}
);
PublicDependencyModuleNames.AddRange(
new string[] {
"Core",
"CoreUObject",
"DeveloperSettings",
"Engine",
"AIModule",
"GameplayTags",
"StructUtils",
}
);
PrivateDependencyModuleNames.AddRange(
new string[] {
"RenderCore",
"PropertyPath",
}
);
if (Target.Type == TargetType.Editor)
{
PrivateDependencyModuleNames.AddRange(
new string[]
{
"UnrealEd" // Editor callbacks
}
);
}
if (Target.Configuration != UnrealTargetConfiguration.Shipping || Target.bBuildEditor)
{
PublicDefinitions.Add("WITH_STATETREE_DEBUGGER=1");
PublicDependencyModuleNames.AddRange(
new string[]
{
"TraceLog",
"TraceServices",
"TraceAnalysis"
}
);
}
else
{
PublicDefinitions.Add("WITH_STATETREE_DEBUGGER=0");
}
}
}
}