improve stacktrace on linux

This commit is contained in:
Daan Leijen 2021-12-10 11:42:54 -08:00
parent 28893a6c1b
commit 65b2cebcef
3 changed files with 7 additions and 3 deletions

View file

@ -130,7 +130,8 @@ if(MI_DEBUG_TRACE)
set(MI_DEBUG_TRACE OFF)
else()
message(STATUS "Enable allocation trace in each heap block (MI_DEBUG_TRACE=ON)")
list(APPEND mi_defines MI_DEBUG_TRACE=1)
list(APPEND mi_defines MI_DEBUG_TRACE=1)
set(CMAKE_ENABLE_EXPORTS TRUE)
endif()
endif()
@ -296,6 +297,7 @@ else()
endif()
message(STATUS "Compiler flags : ${mi_cflags}")
message(STATUS "Compiler defines : ${mi_defines}")
message(STATUS "Link libraries : ${mi_libraries}")
message(STATUS "Build targets : ${mi_build_targets}")
message(STATUS "")