Files
UnrealEngine/Engine/Source/Programs/BuildPatchTool/BuildPatchTool.Target.cs
2025-05-18 13:04:45 +08:00

34 lines
1.2 KiB
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
using System.Collections.Generic;
[SupportedPlatforms("Win64", "Mac", "Linux")]
[SupportedConfigurations(UnrealTargetConfiguration.Debug, UnrealTargetConfiguration.Development, UnrealTargetConfiguration.Shipping)]
public class BuildPatchToolTarget : TargetRules
{
public BuildPatchToolTarget(TargetInfo Target) : base(Target)
{
Type = TargetType.Program;
LinkType = TargetLinkType.Monolithic;
IncludeOrderVersion = EngineIncludeOrderVersion.Latest;
LaunchModuleName = "BuildPatchTool";
bLegalToDistributeBinary = true;
UndecoratedConfiguration = UnrealTargetConfiguration.Shipping;
bCompileAgainstEngine = false;
bCompileAgainstCoreUObject = false;
if(Target.Configuration == UnrealTargetConfiguration.Shipping)
{
// AutomationController is referenced by BuildPatchTool.build.cs, and references a ton of editor things that it probably shouldn't. Need ApplicationCore for this.
bCompileAgainstApplicationCore = false;
}
bBuildDeveloperTools = false;
bUseLoggingInShipping = true;
bUseChecksInShipping = true;
bIsBuildingConsoleApplication = true;
bHasExports = false;
bWithServerCode = false;
}
}