You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Fix error compiling editor targets from installed builds.
#rb none #rnx #jira [CL 7713312 by Ben Marsh in 4.23 branch]
This commit is contained in:
@@ -71,7 +71,9 @@ namespace AutomationTool
|
||||
List<InstalledPlatformInfo.InstalledPlatformConfiguration> InstalledConfigs = new List<InstalledPlatformInfo.InstalledPlatformConfiguration>();
|
||||
|
||||
// Add the editor platform, otherwise we'll never be able to run UAT
|
||||
InstalledConfigs.Add(new InstalledPlatformInfo.InstalledPlatformConfiguration(UnrealTargetConfiguration.Development, HostPlatform.Current.HostEditorPlatform, TargetRules.TargetType.Editor, "", "", EProjectType.Unknown, false));
|
||||
string EditorArchitecture = PlatformExports.GetDefaultArchitecture(HostPlatform.Current.HostEditorPlatform, null);
|
||||
InstalledConfigs.Add(new InstalledPlatformInfo.InstalledPlatformConfiguration(UnrealTargetConfiguration.Development, HostPlatform.Current.HostEditorPlatform, TargetRules.TargetType.Editor, EditorArchitecture, "", EProjectType.Unknown, false));
|
||||
InstalledConfigs.Add(new InstalledPlatformInfo.InstalledPlatformConfiguration(UnrealTargetConfiguration.DebugGame, HostPlatform.Current.HostEditorPlatform, TargetRules.TargetType.Editor, EditorArchitecture, "", EProjectType.Unknown, false));
|
||||
|
||||
foreach (UnrealTargetPlatform CodeTargetPlatform in UnrealTargetPlatform.GetValidPlatforms())
|
||||
{
|
||||
|
||||
@@ -183,7 +183,7 @@ namespace UnrealBuildTool
|
||||
|
||||
string PlatformTypeName;
|
||||
TargetType PlatformType = TargetType.Game;
|
||||
if (ParseSubValue(PlatformConfiguration, "PlatformTypeName=", out PlatformTypeName))
|
||||
if (ParseSubValue(PlatformConfiguration, "PlatformType=", out PlatformTypeName))
|
||||
{
|
||||
if (!Enum.TryParse(PlatformTypeName, out PlatformType))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user