Files
UnrealEngineUWP/Engine/Source/Programs/UnrealHeaderTool/UnrealHeaderTool.Target.cs
ionut matasaru 3d7c0e8440 UBT: Removed deprecated TargetInfo::bUseMallocProfiler toggle in Source/Programs.
#jira UE-141779
#rb Joe.Kirchoff
#rb Johan.Berg
#preflight 64380aea7a00790bfd116430

[CL 25101875 by ionut matasaru in ue5-main branch]
2023-04-19 04:15:59 -04:00

43 lines
1.4 KiB
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
using System.Collections.Generic;
public class UnrealHeaderToolTarget : TargetRules
{
public UnrealHeaderToolTarget(TargetInfo Target) : base(Target)
{
Type = TargetType.Program;
LinkType = TargetLinkType.Modular;
IncludeOrderVersion = EngineIncludeOrderVersion.Latest;
LaunchModuleName = "UnrealHeaderTool";
bCompileICU = false;
// Editor-only data, however, is needed
bBuildWithEditorOnlyData = true;
// Currently this app is not linking against the engine, so we'll compile out references from Core to the rest of the engine
bCompileAgainstEngine = false;
bCompileAgainstApplicationCore = false;
// Force exception handling across all modules.
bForceEnableExceptions = true;
// Plugin support
bCompileWithPluginSupport = true;
bBuildDeveloperTools = true;
// This app is a console application, not a Windows app (sets entry point to main(), instead of WinMain())
bIsBuildingConsoleApplication = true;
GlobalDefinitions.Add("USE_COMPILED_IN_NATIVES=0");
GlobalDefinitions.Add("USE_LOCALIZED_PACKAGE_CACHE=0");
GlobalDefinitions.Add("STATS=0");
// We disable compilation of GC related code since it takes a very long time (up to 30 seconds on typical hardware at the time of writing)
GlobalDefinitions.Add("UE_WITH_GC=0");
GlobalDefinitions.Add("UE_WITH_SAVEPACKAGE=0");
GlobalDefinitions.Add("UE_WITH_CORE_REDIRECTS=0");
}
}