aboutsummaryrefslogtreecommitdiff
path: root/src/zenstore/xmake.lua
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2026-03-13 22:30:32 +0100
committerGitHub Enterprise <[email protected]>2026-03-13 22:30:32 +0100
commit162d7412405e78198ede361a8fbae8dc8b82278a (patch)
tree85f91cbbee13ec8fe73b2ba91bfc59d95116d0ef /src/zenstore/xmake.lua
parentAdd clang-cl build support (diff)
downloadzen-162d7412405e78198ede361a8fbae8dc8b82278a.tar.xz
zen-162d7412405e78198ede361a8fbae8dc8b82278a.zip
Made CPR optional, html generated at build time (#840)
- Fix potential crash on startup caused by logging macros being invoked before the logging system is initialized (null logger dereference in `ZenServerState::Sweep()`). `LoggerRef::ShouldLog` now guards against a null logger pointer. - Make CPR an optional dependency (`--zencpr` build option, enabled by default) so builds can proceed without it - Make zenvfs Windows-only (platform-specific target) - Generate the frontend zip at build time from source HTML files instead of checking in a binary blob which would accumulate with every single update
Diffstat (limited to 'src/zenstore/xmake.lua')
-rw-r--r--src/zenstore/xmake.lua7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/zenstore/xmake.lua b/src/zenstore/xmake.lua
index ea8155e94..94c2b51ca 100644
--- a/src/zenstore/xmake.lua
+++ b/src/zenstore/xmake.lua
@@ -6,6 +6,11 @@ target('zenstore')
add_headerfiles("**.h")
add_files("**.cpp")
add_includedirs("include", {public=true})
- add_deps("zencore", "zentelemetry", "zenutil", "zenvfs")
+ add_deps("zencore", "zentelemetry", "zenutil")
+ if is_plat("windows") then
+ add_deps("zenvfs")
+ else
+ add_includedirs("$(projectdir)/src/zenvfs/include", {public=true})
+ end
add_deps("robin-map")
add_packages("eastl", {public=true});