diff options
| author | Stefan Boberg <[email protected]> | 2026-04-23 18:16:57 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2026-04-23 18:16:57 +0200 |
| commit | 0232b991cd7d8e3a2114ea30e4591dd3e7b65c36 (patch) | |
| tree | 94730e7594fd09ae1fa820391ce311f6daf13905 /thirdparty/xmake.lua | |
| parent | Fix forward declaration order for s_GotSigWinch and SigWinchHandler (diff) | |
| parent | trace: declare Region event name fields as AnsiString (#1012) (diff) | |
| download | archived-zen-sb/zen-help.tar.xz archived-zen-sb/zen-help.zip | |
Merge branch 'main' into sb/zen-helpsb/zen-help
- Combine HelpCommand (this branch) with HistoryCommand (main) in zen CLI dispatcher
- Keep filter-aware TuiPickOne rewrite; adopt main's ASCII arrow glyphs in doc comment
Diffstat (limited to 'thirdparty/xmake.lua')
| -rw-r--r-- | thirdparty/xmake.lua | 58 |
1 files changed, 55 insertions, 3 deletions
diff --git a/thirdparty/xmake.lua b/thirdparty/xmake.lua index 1f5902fdf..ba4dad905 100644 --- a/thirdparty/xmake.lua +++ b/thirdparty/xmake.lua @@ -32,9 +32,9 @@ target('ue-trace') add_includedirs("trace", {public=true}) add_headerfiles("trace/**.h") --- rpmalloc 1.5.0-dev.20250810 --- Vendored from develop branch commit 6b34d956911b (2025-08-10) --- https://github.com/mjansson/rpmalloc/commit/6b34d956911b +-- rpmalloc 1.5.0-dev.20251026 +-- Vendored from develop branch commit feb43aee0d4d (2025-10-26) +-- https://github.com/mjansson/rpmalloc/commit/feb43aee0d4d target('rpmalloc') set_kind("static") set_group('thirdparty') @@ -137,3 +137,55 @@ target("fmt") add_headerfiles("fmt/include/**.h") add_includedirs("fmt/include", {public=true}) +includes("raw_pdb") + +target("tourist") + set_kind("static") + set_group("thirdparty") + + add_files( + "tourist/foundation/src/allocator.cpp", + "tourist/foundation/src/buffer.cpp", + "tourist/foundation/src/malloc.cpp", + "tourist/foundation/src/ref.cpp", + "tourist/foundation/src/scheduler.cpp", + "tourist/foundation/src/stream.cpp", + "tourist/trace/src/data.cpp", + "tourist/trace/src/preamble.cpp", + "tourist/trace/src/protocol.cpp", + "tourist/trace/src/transport.cpp", + "tourist/trace/src/types.cpp", + "tourist/analysis/src/dispatcher.cpp" + ) + + add_includedirs( + "tourist/foundation/include", + "tourist/trace/include", + "tourist/analysis/include", + {public=true} + ) + + -- Internal headers (slab.h, constants.h) + add_includedirs( + "tourist/foundation/src", + "tourist/trace/src" + ) + + add_headerfiles( + "tourist/foundation/include/**.h", + "tourist/trace/include/**.h", + "tourist/analysis/include/**.h", + "tourist/foundation/src/slab.h", + "tourist/trace/src/constants.h" + ) + + -- LZ4 for trace packet decompression + add_packages("lz4") + + -- Suppress warnings from tourist's code style under zen's strict settings + if is_plat("windows") then + add_cxxflags("/wd4668", {force=true}) -- 'X' is not defined as a preprocessor macro + add_cxxflags("/wd4189", {force=true}) -- local variable is initialized but not referenced + add_cxxflags("/wd4702", {force=true}) -- unreachable code + end + |