2018-12-14 13:41:00 -05:00
|
|
|
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
|
2014-03-14 14:13:41 -04:00
|
|
|
|
|
|
|
|
using UnrealBuildTool;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
2018-05-15 10:12:59 -04:00
|
|
|
[SupportedPlatforms(UnrealPlatformClass.Desktop)]
|
2014-03-14 14:13:41 -04:00
|
|
|
public class BlankProgramTarget : TargetRules
|
|
|
|
|
{
|
2017-01-30 16:52:08 -05:00
|
|
|
public BlankProgramTarget(TargetInfo Target) : base(Target)
|
2014-03-14 14:13:41 -04:00
|
|
|
{
|
|
|
|
|
Type = TargetType.Program;
|
2016-12-13 11:58:16 -05:00
|
|
|
LinkType = TargetLinkType.Monolithic;
|
2017-01-30 16:52:08 -05:00
|
|
|
LaunchModuleName = "BlankProgram";
|
2014-03-14 14:13:41 -04:00
|
|
|
|
|
|
|
|
// Lean and mean
|
2019-01-14 12:11:24 -05:00
|
|
|
bBuildDeveloperTools = false;
|
2014-03-14 14:13:41 -04:00
|
|
|
|
|
|
|
|
// 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.
|
2017-07-21 12:42:36 -04:00
|
|
|
bUseMallocProfiler = false;
|
2014-03-14 14:13:41 -04:00
|
|
|
|
|
|
|
|
// Editor-only data, however, is needed
|
2017-07-21 12:42:36 -04:00
|
|
|
bBuildWithEditorOnlyData = true;
|
2014-03-14 14:13:41 -04:00
|
|
|
|
|
|
|
|
// Currently this app is not linking against the engine, so we'll compile out references from Core to the rest of the engine
|
2017-07-21 12:42:36 -04:00
|
|
|
bCompileAgainstEngine = false;
|
|
|
|
|
bCompileAgainstCoreUObject = false;
|
2018-08-14 18:32:34 -04:00
|
|
|
bCompileAgainstApplicationCore = false;
|
2014-03-14 14:13:41 -04:00
|
|
|
|
|
|
|
|
// UnrealHeaderTool is a console application, not a Windows app (sets entry point to main(), instead of WinMain())
|
2018-02-27 17:30:35 -05:00
|
|
|
bIsBuildingConsoleApplication = true;
|
2014-03-14 14:13:41 -04:00
|
|
|
}
|
|
|
|
|
}
|