diff options
Diffstat (limited to 'xmake.lua')
| -rw-r--r-- | xmake.lua | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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") |