aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-09-09 17:04:18 +0200
committerStefan Boberg <[email protected]>2021-09-09 17:04:18 +0200
commit05489ea7820e8dc982755373ad935386de5a1b91 (patch)
treeae8550750cac7dc595183b44a6fd90ce49c4827c
parentImproved VFS feature toggle logic (diff)
downloadzen-05489ea7820e8dc982755373ad935386de5a1b91.tar.xz
zen-05489ea7820e8dc982755373ad935386de5a1b91.zip
Attempted to tweak option defaults, they still don't quite work the way I would like but I'll submit it anyway
-rw-r--r--xmake.lua1
-rw-r--r--zenhttp/xmake.lua3
2 files changed, 3 insertions, 1 deletions
diff --git a/xmake.lua b/xmake.lua
index 3cec35ac2..bbfd0385e 100644
--- a/xmake.lua
+++ b/xmake.lua
@@ -41,6 +41,7 @@ option("vfs")
option_end()
option("httpsys")
+ set_default(true)
set_showmenu(true)
set_description("Enable http.sys server")
add_defines("ZEN_WITH_HTTPSYS")
diff --git a/zenhttp/xmake.lua b/zenhttp/xmake.lua
index a1455f46c..fff4fb526 100644
--- a/zenhttp/xmake.lua
+++ b/zenhttp/xmake.lua
@@ -3,4 +3,5 @@ target('zenhttp')
add_files("**.cpp")
add_includedirs("include", {public=true})
add_deps("zencore")
- add_packages("vcpkg::gsl-lite") \ No newline at end of file
+ add_packages("vcpkg::gsl-lite")
+ add_options("httpsys") \ No newline at end of file