Files
UnrealEngineUWP/Engine/Source/Programs/UnrealHeaderTool/UnrealHeaderTool.Target.cs
Chris Gagnon 1dd3e0189f Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 4730305 by Chris Gagnon in Dev-Editor branch]
2019-01-15 18:47:22 -05:00

41 lines
1.3 KiB
C#

// Copyright 1998-2019 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;
LaunchModuleName = "UnrealHeaderTool";
// Never use malloc profiling in Unreal Header Tool. We set this because often UHT is compiled right before the engine
// automatically by Unreal Build Tool, but if bUseMallocProfiler is defined, UHT can operate incorrectly.
bUseMallocProfiler = false;
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 execption handling across all modules.
bForceEnableExceptions = true;
// Plugin support
bCompileWithPluginSupport = true;
bBuildDeveloperTools = true;
// UnrealHeaderTool is a console application, not a Windows app (sets entry point to main(), instead of WinMain())
bIsBuildingConsoleApplication = true;
GlobalDefinitions.Add("HACK_HEADER_GENERATOR=1");
GlobalDefinitions.Add("USE_LOCALIZED_PACKAGE_CACHE=0");
}
}