diff options
Diffstat (limited to 'xmake.lua')
| -rw-r--r-- | xmake.lua | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -136,6 +136,13 @@ option("zenmimalloc") option_end() add_define_by_config("ZEN_USE_MIMALLOC", "zenmimalloc") +option("zenrpmalloc") + set_default(is_os("windows")) + set_showmenu(true) + set_description("Use rpmalloc for faster memory management") +option_end() +add_define_by_config("ZEN_USE_RPMALLOC", "zenrpmalloc") + if is_os("windows") then option("httpsys") set_default(true) @@ -147,6 +154,18 @@ else add_defines("ZEN_WITH_HTTPSYS=0") end +if is_os("windows") then + add_defines("UE_MEMORY_TRACE_AVAILABLE=1") + option("zenmemtrack") + set_default(true) + set_showmenu(true) + set_description("Enable UE's Memory Trace support") + option_end() + add_define_by_config("ZEN_WITH_MEMTRACK", "zenmemtrack") +else + add_defines("ZEN_WITH_MEMTRACK=0") +end + option("zentrace") set_default(true) set_showmenu(true) |