aboutsummaryrefslogtreecommitdiff
path: root/thirdparty/xmake.lua
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2026-03-27 16:25:21 +0100
committerGitHub Enterprise <[email protected]>2026-03-27 16:25:21 +0100
commit86c95e3291542433190e48fd7e7ad0a414644bc1 (patch)
treec8c05200e2889a4c4bc87cbd3fd47ee3021bc24f /thirdparty/xmake.lua
parent5.8.0-pre0 (diff)
downloadzen-86c95e3291542433190e48fd7e7ad0a414644bc1.tar.xz
zen-86c95e3291542433190e48fd7e7ad0a414644bc1.zip
Misc small fixes (#897)
- **Eliminate `<regex>` usage** — Replaced `std::regex`-based URL parsing in `jupiterbuildstorage.cpp` with manual `string_view` parsing. Added `CXXOPTS_NO_REGEX` to disable regex in cxxopts. Includes comprehensive tests for the new URL parser. - **Add missing HTTP response codes** — Added `102`, `103`, `203`, `207`, `208`, `226`, `306`, `421`, `425`, `451` to the enum and reason string lookup. - **Add `ForceColor` support to zen CLI** — Plumbed the `ForceColor` logging option through to the zen client. - **Add `.clangd` config** — Strips MSVC-specific flags clangd can't handle and suppresses noisy clang-tidy checks. - **Generic `fmt::formatter` for `ToString`** — Concept-based formatter that auto-formats any type with a free `ToString()` function, removing the need for per-type specializations. - **Fix OpenSSL dependency** — Changed `zenhorde` to use `openssl3` package on Linux/macOS. - **Add `<cmath>` include** — Missing include in `hyperloglog.h`. - **GCC compile fix** — Moved `static constinit` variable inside lambda in `logging.cpp`.
Diffstat (limited to 'thirdparty/xmake.lua')
-rw-r--r--thirdparty/xmake.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/thirdparty/xmake.lua b/thirdparty/xmake.lua
index 09a99b5a4..1f5902fdf 100644
--- a/thirdparty/xmake.lua
+++ b/thirdparty/xmake.lua
@@ -105,6 +105,7 @@ target("cxxopts")
set_group("thirdparty")
add_headerfiles("cxxopts/include/**.hpp")
add_includedirs("cxxopts/include", {public=true})
+ add_defines("CXXOPTS_NO_REGEX", {public=true})
target("doctest")
set_kind("headeronly")