// Copyright (c) 2012-2022 Wojciech Figat. All rights reserved.
namespace Flax.Build
{
///
/// The build tool global variables.
///
public static partial class Globals
{
///
/// The root directory of the current workspace (eg. game project workspace, or engine project workspace).
///
public static string Root = null;
///
/// The root directory of the current engine installation.
///
public static string EngineRoot = null;
///
/// The project loaded from the workspace directory.
///
public static ProjectInfo Project;
///
/// All platforms array.
///
public static readonly TargetPlatform[] AllPlatforms =
{
TargetPlatform.Windows,
TargetPlatform.UWP,
TargetPlatform.XboxOne,
TargetPlatform.Linux,
TargetPlatform.PS4,
TargetPlatform.PS5,
TargetPlatform.XboxScarlett,
TargetPlatform.Android,
TargetPlatform.Switch,
TargetPlatform.Mac,
};
///
/// All architectures array.
///
public static readonly TargetArchitecture[] AllArchitectures =
{
TargetArchitecture.x64,
TargetArchitecture.x86,
TargetArchitecture.ARM,
TargetArchitecture.ARM64,
};
///
/// All configurations array.
///
public static readonly TargetConfiguration[] AllConfigurations =
{
TargetConfiguration.Debug,
TargetConfiguration.Development,
TargetConfiguration.Release,
};
}
}