Update Aura

This commit is contained in:
2026-06-23 14:54:15 -07:00
parent db2482dbe2
commit 78ea055aea
18 changed files with 407 additions and 98 deletions

View File

@ -7,12 +7,13 @@ const targetsHL = ["windows-hl", "linux-hl", "macos-hl", "osx-hl", "android-hl",
const targetsCPP = ["windows", "linux", "macos", "osx"];
const targetsHTML5 = ["html5", "debug-html5"];
function addBackends(project) {
project.localLibraryPath = "Backends";
async function addBackends(project) {
//project.localLibraryPath = "Backends";
const isHL = targetsHL.indexOf(Project.platform) >= 0;
if (isHL) {
await project.addProject("Backends/hl");
project.addDefine("AURA_BACKEND_HL");
console.log("[Aura] Using HL/C backend");
}
@ -31,7 +32,7 @@ async function main() {
project.addSources('Sources');
if (process.argv.indexOf("--aura-no-backend") == -1) {
addBackends(project);
await addBackends(project);
}
else {
project.addDefine("AURA_NO_BACKEND");