aboutsummaryrefslogtreecommitdiff
path: root/xmake.lua
diff options
context:
space:
mode:
authorMartin Ridgers <[email protected]>2021-10-25 14:14:58 +0200
committerMartin Ridgers <[email protected]>2021-10-25 22:50:43 +0200
commitb33be684d943e602fcee3744c48c200625663e2c (patch)
treefb97739083158419b29fd20c57578876be8fe34a /xmake.lua
parentUINT16 -> uint16_t (diff)
downloadzen-b33be684d943e602fcee3744c48c200625663e2c.tar.xz
zen-b33be684d943e602fcee3744c48c200625663e2c.zip
Moved Vfs and Httpsys build options into a Windows-only block
Diffstat (limited to 'xmake.lua')
-rw-r--r--xmake.lua24
1 files changed, 12 insertions, 12 deletions
diff --git a/xmake.lua b/xmake.lua
index 783db439f..bca473e3d 100644
--- a/xmake.lua
+++ b/xmake.lua
@@ -60,19 +60,19 @@ end
add_defines("USE_SENTRY=1")
add_defines("ZEN_USE_MIMALLOC=1")
-option("vfs")
- set_showmenu(true)
- set_description("Enable VFS functionality")
- add_defines("ZEN_WITH_VFS")
-option_end()
-
if is_os("windows") then
- option("httpsys")
- set_default(true)
- set_showmenu(true)
- set_description("Enable http.sys server")
- add_defines("ZEN_WITH_HTTPSYS")
- option_end()
+ option("vfs")
+ set_showmenu(true)
+ set_description("Enable VFS functionality")
+ add_defines("ZEN_WITH_VFS")
+ option_end()
+
+ option("httpsys")
+ set_default(true)
+ set_showmenu(true)
+ set_description("Enable http.sys server")
+ add_defines("ZEN_WITH_HTTPSYS")
+ option_end()
end
set_warnings("allextra", "error")