Files
UnrealEngineUWP/Engine/Source/Programs/UninstallHelper/UninstallHelper.Target.cs
zach harris 166eb97912 Adding a program that can be used to delete the PersistentDownloadDir on Windows at uninstall time.
#rb james.doverspike

[CL 24831863 by zach harris in ue5-main branch]
2023-03-29 02:28:20 -04:00

35 lines
1.3 KiB
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
using System.Collections.Generic;
[SupportedPlatforms(UnrealPlatformClass.Desktop)]
[SupportedConfigurations(UnrealTargetConfiguration.Debug, UnrealTargetConfiguration.Development, UnrealTargetConfiguration.Shipping)]
public class UninstallHelperTarget : TargetRules
{
public UninstallHelperTarget(TargetInfo Target) : base(Target)
{
Type = TargetType.Program;
IncludeOrderVersion = EngineIncludeOrderVersion.Latest;
LinkType = TargetLinkType.Monolithic;
LaunchModuleName = "UninstallHelper";
// Lean and mean
bBuildDeveloperTools = false;
// 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;
// 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;
bCompileAgainstApplicationCore = false;
bBuildWithEditorOnlyData =false;
bCompileICU = false;
// UninstallHelper is a console application, not a Windows app (sets entry point to main(), instead of WinMain())
bIsBuildingConsoleApplication = true;
}
}