aboutsummaryrefslogtreecommitdiff
path: root/xmake.lua
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2023-01-31 09:46:25 +0100
committerStefan Boberg <[email protected]>2023-02-01 13:24:25 +0100
commite42f86609bf5e58bc00302d6bef739e40f3c238c (patch)
treea83b5bc15bd96a66a39e9af744f89f884a3efae4 /xmake.lua
parentClean up project store file structure (#218) (diff)
downloadzen-e42f86609bf5e58bc00302d6bef739e40f3c238c.tar.xz
zen-e42f86609bf5e58bc00302d6bef739e40f3c238c.zip
added `xmake sln` task which replaces `generate_projects.bat`
Diffstat (limited to 'xmake.lua')
-rw-r--r--xmake.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/xmake.lua b/xmake.lua
index 7844f75b9..e93b6f464 100644
--- a/xmake.lua
+++ b/xmake.lua
@@ -171,6 +171,15 @@ task("precommit")
print(os.exec("pre-commit run --all-files"))
end)
+task("sln")
+ set_menu {
+ usage = "xmake sln",
+ description = "Generate Visual Studio project files",
+ }
+ on_run(function ()
+ print(os.exec("xmake project --yes --kind=vsxmake2022 -m release,debug -a x64"))
+ end)
+
task("test")
set_menu {
usage = "xmake runtest [core|store|server|integration|all]",