aboutsummaryrefslogtreecommitdiff
path: root/xmake.lua
diff options
context:
space:
mode:
authorMartin Ridgers <[email protected]>2021-10-28 11:33:47 +0200
committerMartin Ridgers <[email protected]>2021-11-18 15:24:39 +0100
commit4df0770ffe6fb03ed7b5248a7fadef935d856ad3 (patch)
treea79a51c4c3fccd7a99562a99edd7caa67ec88ee2 /xmake.lua
parentFilled out ZEN_THIRDPARTY_ macros for Clang and GCC (diff)
downloadzen-4df0770ffe6fb03ed7b5248a7fadef935d856ad3.tar.xz
zen-4df0770ffe6fb03ed7b5248a7fadef935d856ad3.zip
Initial integration of Trace from UE5 via the --zentrace=y xmake config
Diffstat (limited to 'xmake.lua')
-rw-r--r--xmake.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/xmake.lua b/xmake.lua
index a05b7e93c..d8d8fddf6 100644
--- a/xmake.lua
+++ b/xmake.lua
@@ -116,6 +116,14 @@ option("zenmesh")
option_end()
add_define_by_config("ZEN_ENABLE_MESH", "zenmesh")
+option("zentrace")
+ set_default(false)
+ set_showmenu(true)
+ set_description("Enable UE's Trace support")
+ add_includedirs("thirdparty/trace")
+option_end()
+add_define_by_config("ZEN_WITH_TRACE", "zentrace")
+
set_warnings("allextra", "error")
set_languages("cxx20")