// Copyright Epic Games, Inc. All Rights Reserved.
using System.Collections.Generic;
using EpicGames.Core;
using Microsoft.Extensions.Logging;
namespace UnrealBuildTool
{
///
/// Base class for platform-specific project generators
///
class LinuxProjectGenerator : PlatformProjectGenerator
{
///
/// Constructor
///
/// Command line arguments passed to the project generator
/// Logger for output
public LinuxProjectGenerator(CommandLineArguments Arguments, ILogger Logger)
: base(Arguments, Logger)
{
}
///
/// Enumerate all the platforms that this generator supports
///
public override IEnumerable GetPlatforms()
{
yield return UnrealTargetPlatform.Linux;
yield return UnrealTargetPlatform.LinuxArm64;
}
///
/// VisualStudio project generation functions
///
///
/// Whether this build platform has native support for VisualStudio
///
/// The UnrealTargetPlatform being built
/// The UnrealTargetConfiguration being built
///
/// bool true if native VisualStudio support (or custom VSI) is available
public override bool HasVisualStudioSupport(UnrealTargetPlatform InPlatform, UnrealTargetConfiguration InConfiguration, VCProjectFileFormat ProjectFileFormat)
{
return false;
}
}
}