2019-12-26 23:01:54 -05:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
2019-01-14 12:11:24 -05:00
|
|
|
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
2020-12-21 23:07:37 -04:00
|
|
|
using EpicGames.Core;
|
2019-01-14 12:11:24 -05:00
|
|
|
|
|
|
|
|
namespace UnrealBuildTool
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Register all platforms (and in the process, configure all autosdks)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ToolMode("SetupPlatforms", ToolModeOptions.XmlConfig | ToolModeOptions.BuildPlatforms | ToolModeOptions.SingleInstance)]
|
|
|
|
|
class SetupPlatforms : ToolMode
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Execute the tool mode
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Arguments">Command line arguments</param>
|
|
|
|
|
/// <returns>Exit code</returns>
|
|
|
|
|
public override int Execute(CommandLineArguments Arguments)
|
|
|
|
|
{
|
|
|
|
|
// Output a warning if there are any arguments that are still unused
|
|
|
|
|
Arguments.CheckAllArgumentsUsed();
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|