You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Added a new Target's option 'UseGameplayDebuggerCore' to remove GP DBG's menu and default categories #preflight https://horde.devtools.epicgames.com/job/638f8776c0652bbec27cbe97 #rb mieszko.zielinski [CL 23422415 by guillaume guay in ue5-main branch]
55 lines
1.1 KiB
C#
55 lines
1.1 KiB
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
namespace UnrealBuildTool.Rules
|
|
{
|
|
public class GameplayDebuggerEditor : ModuleRules
|
|
{
|
|
public GameplayDebuggerEditor(ReadOnlyTargetRules Target) : base(Target)
|
|
{
|
|
PublicDependencyModuleNames.AddRange(
|
|
new string[] {
|
|
"Core",
|
|
"CoreUObject",
|
|
"Engine",
|
|
});
|
|
|
|
PrivateDependencyModuleNames.AddRange(
|
|
new string[] {
|
|
"RenderCore",
|
|
"InputCore",
|
|
"SlateCore",
|
|
"Slate",
|
|
"DeveloperSettings",
|
|
});
|
|
|
|
if (Target.Configuration != UnrealTargetConfiguration.Shipping)
|
|
{
|
|
PrivateDependencyModuleNames.Add("DrawPrimitiveDebugger");
|
|
}
|
|
/*
|
|
PrivateIncludePaths.AddRange(
|
|
new string[] {
|
|
"Developer/Settings/Public",
|
|
});
|
|
*/
|
|
if (Target.bBuildEditor)
|
|
{
|
|
PrivateDependencyModuleNames.AddRange(
|
|
new string[] {
|
|
|
|
"EditorFramework",
|
|
"UnrealEd",
|
|
"LevelEditor",
|
|
"PropertyEditor",
|
|
"GameplayDebugger"
|
|
});
|
|
}
|
|
|
|
if (Target.bUseGameplayDebuggerCore)
|
|
{
|
|
PrecompileForTargets = PrecompileTargetsType.Any;
|
|
}
|
|
}
|
|
}
|
|
}
|