// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
using System;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;
using System.IO;
using Tools.DotNETCommon;
namespace UnrealBuildTool
{
///
/// Base class for platform-specific project generators
///
class HTML5ProjectGenerator : PlatformProjectGenerator
{
///
/// Constructor
///
/// Command line arguments passed to the project generator
public HTML5ProjectGenerator(CommandLineArguments Arguments)
: base(Arguments)
{
}
///
/// Enumerate all the platforms that this generator supports
///
public override IEnumerable GetPlatforms()
{
yield return UnrealTargetPlatform.HTML5;
}
///
/// 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)
{
// HTML5 is not supported in VisualStudio
return false;
}
}
}