Files
UnrealEngineUWP/Engine/Source/Programs/Windows/BootstrapPackagedGame/BootstrapPackagedGame.Target.cs
joe kirchoff 27ff6e1a17 BootstrapPackagedGame: Allow skipping the prereq installer if the required dependencies are bundled with the application
* Query the file version of dlls to be loaded so it can be compared against the min required version, in addition to ensuring the dll can be loaded
* Unload dlls after verifying they can be loaded
* Check bundled dlls first as dlls from an application's directory will be preferred when LoadLibrary is called.
* Check version of directx dlls
* Remove x86 logic, Win32 hasn't been supported for years
* Fix static analysis warnings

#jira UE-188536
#rb David.Harvey

[CL 27961367 by joe kirchoff in ue5-main branch]
2023-09-18 12:11:26 -04:00

29 lines
835 B
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
using System.Collections.Generic;
[SupportedConfigurations(UnrealTargetConfiguration.Debug, UnrealTargetConfiguration.Development, UnrealTargetConfiguration.Shipping)]
[SupportedPlatforms("Win64")]
public class BootstrapPackagedGameTarget : TargetRules
{
public BootstrapPackagedGameTarget(TargetInfo Target) : base(Target)
{
Type = TargetType.Program;
LinkType = TargetLinkType.Monolithic;
IncludeOrderVersion = EngineIncludeOrderVersion.Latest;
LaunchModuleName = "BootstrapPackagedGame";
bUseStaticCRT = true;
bUseSharedPCHs = false;
// Disable all parts of the editor.
bBuildDeveloperTools = false;
bCompileICU = false;
bBuildWithEditorOnlyData = false;
bCompileAgainstEngine = false;
bCompileAgainstCoreUObject = false;
}
}