diff options
| author | Martin Ridgers <[email protected]> | 2021-11-17 13:26:28 +0100 |
|---|---|---|
| committer | Martin Ridgers <[email protected]> | 2021-11-17 13:26:28 +0100 |
| commit | b422d299d4f0e54507b4b419cf2842167afb1fdb (patch) | |
| tree | c5c313f6e2565046e33cbb0c837067cca2a537f0 /xmake.lua | |
| parent | Moved compute xmake config option out of the is-windows block (diff) | |
| download | zen-b422d299d4f0e54507b4b419cf2842167afb1fdb.tar.xz zen-b422d299d4f0e54507b4b419cf2842167afb1fdb.zip | |
Convert remaining xmake config options to set the define by has_config()
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") |