aboutsummaryrefslogtreecommitdiff
path: root/xmake.lua
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-09-09 16:29:41 +0200
committerStefan Boberg <[email protected]>2021-09-09 16:29:41 +0200
commitef61906444894820b53c0b314b56e1a3c1f75468 (patch)
tree3f3b2b89ce70fca792ad61ca645f798e39a2bea8 /xmake.lua
parentAdded compile time logic to toggle http.sys / null http implementation on/off (diff)
downloadzen-ef61906444894820b53c0b314b56e1a3c1f75468.tar.xz
zen-ef61906444894820b53c0b314b56e1a3c1f75468.zip
Improved VFS feature toggle logic
Diffstat (limited to 'xmake.lua')
-rw-r--r--xmake.lua10
1 files changed, 8 insertions, 2 deletions
diff --git a/xmake.lua b/xmake.lua
index ad12af351..3cec35ac2 100644
--- a/xmake.lua
+++ b/xmake.lua
@@ -36,8 +36,14 @@ add_defines("USE_SENTRY=1")
option("vfs")
set_showmenu(true)
- set_description("Enable or disable VFS functionality")
- add_defines("WITH_VFS")
+ set_description("Enable VFS functionality")
+ add_defines("ZEN_WITH_VFS")
+option_end()
+
+option("httpsys")
+ set_showmenu(true)
+ set_description("Enable http.sys server")
+ add_defines("ZEN_WITH_HTTPSYS")
option_end()
add_defines("UNICODE", "_CONSOLE")