aboutsummaryrefslogtreecommitdiff
path: root/xmake.lua
diff options
context:
space:
mode:
authorMartin Ridgers <[email protected]>2021-11-03 09:25:09 +0100
committerMartin Ridgers <[email protected]>2021-11-03 09:25:09 +0100
commit55a0f5047c069c82e741ecc917e65827377fcda9 (patch)
tree2d0ac1e3e89ccfb70256c1d6a2a4613d2aaf7c69 /xmake.lua
parentMissing include (diff)
downloadzen-55a0f5047c069c82e741ecc917e65827377fcda9.tar.xz
zen-55a0f5047c069c82e741ecc917e65827377fcda9.zip
Wrapped /apply/ and /exec/ services in a ZEN_WITH_COMPUTE_SERVICES define
Diffstat (limited to 'xmake.lua')
-rw-r--r--xmake.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/xmake.lua b/xmake.lua
index 241ec15a5..1c1e962e5 100644
--- a/xmake.lua
+++ b/xmake.lua
@@ -75,6 +75,13 @@ if is_os("windows") then
set_description("Enable http.sys server")
add_defines("ZEN_WITH_HTTPSYS")
option_end()
+
+ option("compute")
+ set_default(true)
+ set_showmenu(true)
+ set_description("Enable compute services endpoint")
+ add_defines("ZEN_WITH_COMPUTE_SERVICES")
+ option_end()
end
set_warnings("allextra", "error")