Files
UnrealEngineUWP/Engine/Source/Programs/UnrealFileServer/UnrealFileServer.Target.cs
Ben Marsh 38a7d3328b UBT: Deprecate bCompileLeanAndMeanUE. This setting is vague and non-descriptive, and causes several other settings to be overriden. It is forced on by the current target type and individual target platforms, preventing targets from modifying those values. Anything explicitly using bCompileLeanAndMeanUE now uses bBuildDeveloperTools instead, and the UE_BUILD_MINIMAL macro at runtime has been removed.
The values that it previously forced values to are now configured as follows:

* bBuildEditor is a read-only property that returns true if and only if the target type is Editor.
* bCompileSimplygon and bCompileSimplygonSSF now a property which will default to true for Windows editor, if Simplygon is available. It can also be explicitly enabled or disabled.
* bCompileSpeedTree is now a property which will default to true for editor targets, and can also be explicitly enabled or disabled.

#rb none

[CL 4596311 by Ben Marsh in Dev-Build branch]
2018-11-27 09:02:34 -05:00

30 lines
1.1 KiB
C#

// Copyright 1998-2018 Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
using System.Collections.Generic;
public class UnrealFileServerTarget : TargetRules
{
public UnrealFileServerTarget(TargetInfo Target) : base(Target)
{
Type = TargetType.Program;
LinkType = TargetLinkType.Modular;
LaunchModuleName = "UnrealFileServer";
// 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;
// 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;
bCompileAgainstCoreUObject = false;
bBuildDeveloperTools = false;
// UnrealHeaderTool is a console application, not a Windows app (sets entry point to main(), instead of WinMain())
bIsBuildingConsoleApplication = true;
}
}