aboutsummaryrefslogtreecommitdiff
path: root/xmake.lua
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2022-06-10 14:53:15 +0200
committerStefan Boberg <[email protected]>2022-06-10 14:53:15 +0200
commit4ecced1453e3a030c8d38202bbeeddce10ba8c9b (patch)
treea01b0eb4b78f28cf12fef18b97a8f1c9b83802bb /xmake.lua
parentcore: added ReadStdIn (diff)
downloadzen-4ecced1453e3a030c8d38202bbeeddce10ba8c9b.tar.xz
zen-4ecced1453e3a030c8d38202bbeeddce10ba8c9b.zip
build: added catch2 option
also added some comments for the vfs option
Diffstat (limited to 'xmake.lua')
-rw-r--r--xmake.lua12
1 files changed, 11 insertions, 1 deletions
diff --git a/xmake.lua b/xmake.lua
index c492ca181..de63f205b 100644
--- a/xmake.lua
+++ b/xmake.lua
@@ -108,7 +108,9 @@ end
if is_os("windows") then
option("vfs")
- set_showmenu(true)
+ -- note: this is an old prototype and is not functional at all at the moment
+ set_default(false)
+ set_showmenu(false)
set_description("Enable VFS functionality")
option_end()
add_define_by_config("ZEN_WITH_VFS", "vfs")
@@ -121,6 +123,13 @@ if is_os("windows") then
add_define_by_config("ZEN_WITH_HTTPSYS", "httpsys")
end
+option("catch2")
+ set_default(false)
+ set_showmenu(true)
+ set_description("Use catch2 to run tests")
+option_end()
+add_define_by_config("ZEN_USE_CATCH2", "catch2")
+
option("compute")
set_default(true)
set_showmenu(true)
@@ -136,6 +145,7 @@ option_end()
add_define_by_config("ZEN_WITH_EXEC_SERVICES", "exec")
option("zenmesh")
+ -- note: this is an old prototype and is not functional at all at the moment
set_default(false)
set_showmenu(true)
set_description("Enables Zen's mesh feature")