xmake: Improve scripts

This commit is contained in:
SirLynix
2023-01-29 15:32:55 +01:00
parent 511a45cf6a
commit 3a58ed9701
4 changed files with 10 additions and 12 deletions

View File

@@ -28,7 +28,7 @@ rule("nzsl.compile.shaders")
envs = mingw:runenvs()
end
end
batchcmds:vrunv(nzsl, argv, { curdir = ".", envs = envs })
local outputFile = path.join(path.directory(shaderfile), path.basename(shaderfile) .. ".nzslb.h")