merge dev-trace

This commit is contained in:
Daan 2021-12-10 12:09:14 -08:00
commit e3de22a067
3 changed files with 7 additions and 12 deletions

View file

@ -125,14 +125,9 @@ if(MI_DEBUG_FULL)
endif()
if(MI_DEBUG_TRACE)
if (APPLE)
message(WARNING "Cannot enable MI_DEBUG_TRACE on Apple")
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)
set(CMAKE_ENABLE_EXPORTS TRUE)
endif()
message(STATUS "Enable allocation trace in each heap block (MI_DEBUG_TRACE=ON)")
list(APPEND mi_defines MI_DEBUG_TRACE=1)
set(CMAKE_ENABLE_EXPORTS TRUE)
endif()
if(MI_PADDING_EXTRA)