Files
UnrealEngineUWP/Engine/Source/Programs/UnrealPak/UnrealPak.Target.cs
rune stubbe 67f98f295b Fix for issue where running UnrealPak with -WriteBackMetadataToAssetRegistry=OriginalFile would crash because UObjectRedirector was not properly initialized
#rb matt.peters, carlmagnus.nordin
[FYI] dan.thompson, graham.wihlidal
#preflight 6304e4265366f61a426ab19b

[CL 21524991 by rune stubbe in ue5-main branch]
2022-08-23 19:22:37 -04:00

37 lines
1.0 KiB
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
using System.Collections.Generic;
public class UnrealPakTarget : TargetRules
{
public UnrealPakTarget(TargetInfo Target) : base(Target)
{
Type = TargetType.Program;
LinkType = TargetLinkType.Modular;
IncludeOrderVersion = EngineIncludeOrderVersion.Latest;
LaunchModuleName = "UnrealPak";
bBuildDeveloperTools = false;
bUseMallocProfiler = false;
bCompileWithPluginSupport = true;
bIncludePluginsForTargetPlatforms = true;
// Editor-only data, however, is needed
bBuildWithEditorOnlyData = true;
// Currently this app uses AssetRegistry and CoreUObject, but not Engine
bCompileAgainstEngine = false;
bCompileAgainstCoreUObject = true;
// ICU is not needed
bCompileICU = false;
// UnrealPak is a console application, not a Windows app (sets entry point to main(), instead of WinMain())
bCompileAgainstApplicationCore = true;
bIsBuildingConsoleApplication = true;
GlobalDefinitions.Add("UE_TRACE_ENABLED=1");
}
}