Improve emscripten support
This commit is contained in:
committed by
Jérôme Leclercq
parent
7cb90782de
commit
ea5c5240fc
@@ -3,5 +3,9 @@ option("examples", { description = "Build examples", default = true })
|
||||
if has_config("examples") then
|
||||
set_group("Examples")
|
||||
|
||||
if is_plat("wasm") then
|
||||
add_ldflags("--preload-file assets/", { force = true })
|
||||
end
|
||||
|
||||
includes("*/xmake.lua")
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user