2019-12-26 23:06:02 -05:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
2014-04-23 17:52:54 -04:00
|
|
|
|
|
|
|
|
using UnrealBuildTool;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
public class UnrealVersionSelectorTarget : TargetRules
|
|
|
|
|
{
|
2017-01-30 16:52:08 -05:00
|
|
|
public UnrealVersionSelectorTarget(TargetInfo Target) : base(Target)
|
2014-04-23 17:52:54 -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 = "UnrealVersionSelector";
|
2018-05-04 14:14:10 -04:00
|
|
|
|
2019-01-14 12:11:24 -05:00
|
|
|
bBuildDeveloperTools = false;
|
2017-07-21 12:42:36 -04:00
|
|
|
bUseMallocProfiler = false;
|
2014-04-23 17:52:54 -04:00
|
|
|
|
2018-05-04 14:14:10 -04:00
|
|
|
bool bUsingSlate = (Target.Platform == UnrealTargetPlatform.Linux);
|
|
|
|
|
|
|
|
|
|
if (bUsingSlate)
|
|
|
|
|
{
|
|
|
|
|
ExtraModuleNames.Add("EditorStyle");
|
|
|
|
|
}
|
|
|
|
|
|
2017-07-21 12:42:36 -04:00
|
|
|
bCompileICU = false;
|
2014-04-23 17:52:54 -04:00
|
|
|
// Editor-only data, however, is needed
|
2018-05-04 14:14:10 -04:00
|
|
|
bBuildWithEditorOnlyData = bUsingSlate;
|
2014-04-23 17:52:54 -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;
|
2018-05-04 14:14:10 -04:00
|
|
|
bCompileAgainstCoreUObject = bUsingSlate;
|
2014-04-23 17:52:54 -04:00
|
|
|
}
|
|
|
|
|
}
|