xmake: Add support for shader editor

This commit is contained in:
Jérôme Leclercq
2021-05-07 13:40:32 +02:00
parent 24c2de405f
commit 3221dfdb09
4 changed files with 108 additions and 0 deletions

View File

@@ -84,6 +84,8 @@ local modules = {
}
}
add_repositories("local-repo xmake-repo")
add_requires("chipmunk2d", "freetype", "libsndfile", "libsdl")
add_requires("newtondynamics", { debug = is_mode("debug") })
@@ -163,9 +165,11 @@ for name, module in pairs(modules) do
end
end
includes("tools/xmake.lua")
includes("plugins/*/xmake.lua")
includes("examples/*/xmake.lua")
-- Adds -d as a debug suffix
rule("debug_suffix")
on_load(function (target)
if target:kind() ~= "binary" then