Fix var name typo and make improve class lib and platforms tools searching for Mono AOT

This commit is contained in:
Wojtek Figat
2023-04-13 08:27:49 +02:00
parent d9855f2ed6
commit cf397e1cc7
3 changed files with 33 additions and 11 deletions

View File

@@ -145,6 +145,7 @@ namespace Flax.Build
MonoCompile,
MonoLink,
GetOutputFiles,
GetPlatformTools,
};
public ActionTypes Action;
@@ -152,7 +153,7 @@ namespace Flax.Build
public List<string> OutputFiles;
public string AssembliesPath;
public string ClassLibraryPath;
public string PlatformsToolsPath;
public string PlatformToolsPath;
public bool EnableDebugSymbols;
public bool EnableToolDebug;
}
@@ -175,6 +176,9 @@ namespace Flax.Build
options.OutputFiles.Add(Path.Combine(Path.GetDirectoryName(inputFile), Platform.StaticLibraryFilePrefix + Path.GetFileName(inputFile) + Platform.StaticLibraryFileExtension));
}
return false;
case CSharpOptions.ActionTypes.GetPlatformTools:
options.PlatformToolsPath = Path.Combine(Globals.EngineRoot, "Source/Platforms", Platform.Target.ToString(), "Binaries/Tools");
return false;
}
return true;
}