aboutsummaryrefslogtreecommitdiff
path: root/thirdparty/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/xmake.lua')
-rw-r--r--thirdparty/xmake.lua58
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
+