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

33 lines
921 B
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
using System.Collections.Generic;
public class UnrealVersionSelectorTarget : TargetRules
{
public UnrealVersionSelectorTarget(TargetInfo Target) : base(Target)
{
Type = TargetType.Program;
LinkType = TargetLinkType.Monolithic;
IncludeOrderVersion = EngineIncludeOrderVersion.Latest;
LaunchModuleName = "UnrealVersionSelector";
bBuildDeveloperTools = false;
bool bUsingSlate = (Target.Platform == UnrealTargetPlatform.Linux);
if (bUsingSlate && bBuildEditor)
{
ExtraModuleNames.Add("EditorStyle");
}
bCompileICU = false;
// Editor-only data, however, is needed
bBuildWithEditorOnlyData = bUsingSlate;
// 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 = bUsingSlate;
}
}