1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-01 16:38:31 +00:00

Mono/C#: Initial exporter support for AOT compilation

This commit is contained in:
Ignacio Etcheverry
2019-11-13 20:12:36 +01:00
parent de7c2ad21b
commit 2b67924a0b
16 changed files with 616 additions and 173 deletions

View File

@@ -21,7 +21,7 @@ namespace GodotTools.Build
var editorSettings = GodotSharpEditor.Instance.GetEditorInterface().GetEditorSettings();
var buildTool = (BuildManager.BuildTool) editorSettings.GetSetting("mono/builds/build_tool");
if (OS.IsWindows())
if (OS.IsWindows)
{
switch (buildTool)
{
@@ -59,7 +59,7 @@ namespace GodotTools.Build
}
}
if (OS.IsUnix())
if (OS.IsUnixLike())
{
if (buildTool == BuildManager.BuildTool.MsBuildMono)
{
@@ -128,7 +128,7 @@ namespace GodotTools.Build
private static string FindMsBuildToolsPathOnWindows()
{
if (!OS.IsWindows())
if (!OS.IsWindows)
throw new PlatformNotSupportedException();
// Try to find 15.0 with vswhere