Files
FlaxEngine/Source/Tools/Flax.Build/Globals.cs
Wojciech Figat eebc4951de Merge branch '1.5' into dotnet7
# Conflicts:
#	Source/Platforms/DotNet/NUnit/agents/net40/nunit-agent.exe
#	Source/Platforms/DotNet/NUnit/agents/net40/nunit.engine.api.dll
#	Source/Platforms/DotNet/NUnit/agents/net40/nunit.engine.core.dll
#	Source/Platforms/DotNet/NUnit/agents/net7.0/nunit.agent.addins
#	Source/Platforms/DotNet/NUnit/nunit.engine.api.dll
#	Source/Platforms/DotNet/NUnit/nunit.engine.core.dll
#	Source/Platforms/DotNet/NUnit/nunit.engine.dll
#	Source/Platforms/DotNet/NUnit/nunit3-console.exe
#	Source/Platforms/DotNet/NUnit/nunit3-console.exe.config
#	Source/Platforms/DotNet/NUnit/testcentric.engine.metadata.dll
#	Source/Tools/Flax.Build/Deps/Downloader.cs
#	Source/Tools/Flax.Stats/CodeFrame.cs
#	Source/Tools/Flax.Stats/CodeFrameNode.cs
#	Source/Tools/Flax.Stats/Flax.Stats.Build.cs
#	Source/Tools/Flax.Stats/Languages.cs
#	Source/Tools/Flax.Stats/Program.cs
#	Source/Tools/Flax.Stats/TaskType.cs
#	Source/Tools/Flax.Stats/Tools.cs
#	Source/Tools/FlaxEngine.Tests/TestEditorUtils.cs
2023-01-10 15:49:44 +01:00

63 lines
1.8 KiB
C#

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