Files
UnrealEngineUWP/Engine/Source/Programs/UnrealHeaderTool/UnrealHeaderTool.Target.cs
Ryan Vance 7c51ff94af Merging //UE4/Dev-Main to Dev-VR (//UE4/Dev-VR)
CL 1 of 8
#rb integration

[CL 4748712 by Ryan Vance in Dev-VR branch]
2019-01-17 18:54:05 -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");
}
}