aboutsummaryrefslogtreecommitdiff
path: root/xmake.lua
diff options
context:
space:
mode:
authorMartin Ridgers <[email protected]>2021-11-17 13:26:51 +0100
committerMartin Ridgers <[email protected]>2021-11-17 13:26:51 +0100
commit7b7cd003f46931e8c5b46f679215e2822326467a (patch)
treef22aec1841d1e5726173843cb6b0a892b9502f06 /xmake.lua
parentConvert remaining xmake config options to set the define by has_config() (diff)
downloadzen-7b7cd003f46931e8c5b46f679215e2822326467a.tar.xz
zen-7b7cd003f46931e8c5b46f679215e2822326467a.zip
Added a "zenmesh" config option
Diffstat (limited to 'xmake.lua')
-rw-r--r--xmake.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/xmake.lua b/xmake.lua
index 731a96840..0e9468cc0 100644
--- a/xmake.lua
+++ b/xmake.lua
@@ -103,6 +103,13 @@ option("compute")
option_end()
add_define_by_config("ZEN_WITH_COMPUTE_SERVICES", "compute")
+option("zenmesh")
+ set_default(false)
+ set_showmenu(true)
+ set_description("Enables Zen's mesh feature")
+option_end()
+add_define_by_config("ZEN_ENABLE_MESH", "zenmesh")
+
set_warnings("allextra", "error")
set_languages("cxx20")