aboutsummaryrefslogtreecommitdiff
path: root/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake.lua')
-rw-r--r--xmake.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake.lua b/xmake.lua
index 88b6b8bae..731a96840 100644
--- a/xmake.lua
+++ b/xmake.lua
@@ -85,23 +85,23 @@ if is_os("windows") then
option("vfs")
set_showmenu(true)
set_description("Enable VFS functionality")
- add_defines("ZEN_WITH_VFS")
option_end()
+ add_define_by_config("ZEN_WITH_VFS", "vfs")
option("httpsys")
set_default(true)
set_showmenu(true)
set_description("Enable http.sys server")
- add_defines("ZEN_WITH_HTTPSYS")
option_end()
+ add_define_by_config("ZEN_WITH_HTTPSYS", "httpsys")
end
option("compute")
set_default(is_os("windows"))
set_showmenu(true)
set_description("Enable compute services endpoint")
- add_defines("ZEN_WITH_COMPUTE_SERVICES")
option_end()
+add_define_by_config("ZEN_WITH_COMPUTE_SERVICES", "compute")
set_warnings("allextra", "error")
set_languages("cxx20")