// Copyright Epic Games, Inc. All Rights Reserved. using System; using System.Collections.Generic; using System.Text; using System.Diagnostics; using System.IO; using EpicGames.Core; namespace UnrealBuildTool { /// /// Base class for platform-specific project generators /// class WindowsProjectGenerator : PlatformProjectGenerator { /// /// Constructor /// /// Command line arguments passed to the project generator public WindowsProjectGenerator(CommandLineArguments Arguments) : base(Arguments) { } /// /// Enumerate all the platforms that this generator supports /// public override IEnumerable GetPlatforms() { yield return UnrealTargetPlatform.Win64; } /// /// VisualStudio project generation functions /// /// /// Return the VisualStudio platform name for this build platform /// /// The UnrealTargetPlatform being built /// The UnrealTargetConfiguration being built /// string The name of the platform that VisualStudio recognizes public override string GetVisualStudioPlatformName(UnrealTargetPlatform InPlatform, UnrealTargetConfiguration InConfiguration) { if (InPlatform == UnrealTargetPlatform.Win64) { return "x64"; } return InPlatform.ToString(); } public override bool RequiresVSUserFileGeneration() { return true; } } }