Files
UnrealEngineUWP/Engine/Source/Programs/UnrealVersionSelector/UnrealVersionSelector.Build.cs
ben marsh bf76b88671 UnrealVersionSelector: Add support for projects built with a custom build environment. Enumerate all the .target files under a project's binaries directory, and take the launch path from the most recent one which is Configuration = "Development" and Type = "Editor".
#rb none
#jira UE-71800

#ROBOMERGE-SOURCE: CL 7712967 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v385-7708028)

[CL 7712968 by ben marsh in Main branch]
2019-08-03 16:28:45 -04:00

25 lines
914 B
C#

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
public class UnrealVersionSelector : ModuleRules
{
public UnrealVersionSelector(ReadOnlyTargetRules Target) : base(Target)
{
PublicIncludePaths.Add("Runtime/Launch/Public");
PublicIncludePaths.Add("Runtime/Launch/Private"); // Yuck. Required for RequiredProgramMainCPPInclude.h. (Also yuck).
if (Target.Platform == UnrealTargetPlatform.Linux)
{
PrivateDependencyModuleNames.AddRange(new string[] { "Core", "Projects", "DesktopPlatform", "CoreUObject", "ApplicationCore", "Slate", "SlateCore", "StandaloneRenderer", "SlateFileDialogs" });
PrivateDependencyModuleNames.AddRange(new string[] { "UnixCommonStartup" });
}
else
{
PrivateDependencyModuleNames.AddRange(new string[] { "Core", "Projects", "DesktopPlatform", "ApplicationCore" });
}
PrivateDependencyModuleNames.Add("Json");
}
}