Skip to content

Commit 861ae60

Browse files
committed
fix.
1 parent 5cb3f57 commit 861ae60

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

premake5.lua

+2-7
Original file line numberDiff line numberDiff line change
@@ -1316,13 +1316,8 @@ tool "slangd"
13161316
filter("files:source/slang/slang-stdlib-api.cpp")
13171317
-- Note! Has to be an absolute path else doesn't work(!)
13181318
buildoutputs { absOutputPath }
1319-
local f = getWinArm64Filter(true)
1320-
table.insert(f, "files:source/slang/slang-stdlib-api.cpp")
1321-
filter(f)
1322-
buildinputs { getWinArm64BuildDir(true) .. '/slangc-bootstrap' .. executableSuffix }
1323-
buildcommands {'"' .. getWinArm64BuildDir(true) .. '/slangc-bootstrap" -archive-type riff-lz4 -save-stdlib-bin-source "%{file.directory}/slang-stdlib-generated.h"' }
1324-
f = getWinArm64Filter(false)
1325-
table.insert(f, "files:source/slang/slang-stdlib-api.cpp")
1319+
filter("files:source/slang/slang-stdlib-api.cpp")
1320+
13261321
filter(f)
13271322
buildinputs { "%{cfg.targetdir}/slangc-bootstrap" .. executableSuffix }
13281323
buildcommands { '"%{cfg.targetdir}/slangc-bootstrap" -archive-type riff-lz4 -save-stdlib-bin-source "%{file.directory}/slang-stdlib-generated.h"' }

0 commit comments

Comments
 (0)