Files
UnrealEngineUWP/Engine/Source/Programs/DerivedDataTool/DerivedDataTool.Target.cs
robert millar 2ac24cb374 Add target rules option for enabling trace.
#rb ionut.matasaru

[CL 27011549 by robert millar in ue5-main branch]
2023-08-10 17:10:14 -04:00

33 lines
972 B
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
[SupportedPlatforms(UnrealPlatformClass.Desktop)]
public class DerivedDataToolTarget : TargetRules
{
public DerivedDataToolTarget(TargetInfo Target) : base(Target)
{
Type = TargetType.Program;
IncludeOrderVersion = EngineIncludeOrderVersion.Latest;
LinkType = TargetLinkType.Monolithic;
LaunchModuleName = "DerivedDataTool";
bBuildDeveloperTools = false;
bCompileAgainstApplicationCore = true;
bCompileAgainstCoreUObject = false;
bCompileAgainstEngine = false;
bCompileICU = false;
bForceDisableAutomationTests = true;
bIsBuildingConsoleApplication = true;
bUseLoggingInShipping = true;
if (Target.Configuration == UnrealTargetConfiguration.Debug ||
Target.Configuration == UnrealTargetConfiguration.Development)
{
GlobalDefinitions.Add("LLM_ENABLED_IN_CONFIG=1");
GlobalDefinitions.Add("UE_MEMORY_TAGS_TRACE_ENABLED=1");
bEnableTrace = true;
}
}
}