Updated CMakeLists to require -DENABLE_DEBUG_LOG on all platforms, until a

better "automatic" strategy is decided.
Although this doesn't change Tidy binary, I bumped the version because the
default build settings _could_ result in a binary difference.
This commit is contained in:
Jim Derry 2017-10-08 11:06:41 -04:00
parent ca2f089e89
commit 16aa474f6a
2 changed files with 5 additions and 10 deletions

View File

@ -139,11 +139,9 @@ endif ()
# Diagnostics
# Enable building with logs, some memory diagnostics.
#------------------------------------------------------------------------
if (MSVC AND NOT CMAKE_BUILD_TYPE MATCHES Release)
option( ENABLE_DEBUG_LOG "Set ON to output debugging messages." ON )
else ()
option( ENABLE_DEBUG_LOG "Set ON to output debugging messages." OFF )
endif ()
option( ENABLE_DEBUG_LOG "Set ON to output debugging messages." ON )
option( ENABLE_ALLOC_DEBUG "Set ON to output node allocation diagnostics." OFF )
option( ENABLE_MEMORY_DEBUG "Set ON to output some memory diagnostics." OFF )
if ( ENABLE_DEBUG_LOG )
add_definitions( -DENABLE_DEBUG_LOG )
@ -152,9 +150,6 @@ else ()
message(STATUS "*** Debug Logging is NOT enabled.")
endif ()
option( ENABLE_ALLOC_DEBUG "Set ON to output node allocation diagnostics." OFF )
option( ENABLE_MEMORY_DEBUG "Set ON to output some memory diagnostics." OFF )
if (ENABLE_ALLOC_DEBUG)
add_definitions ( -DDEBUG_ALLOCATION ) # see lexer.c for details
message(STATUS "*** Note, lexer.c node allocation diagnostics are ON")

View File

@ -1,2 +1,2 @@
5.5.61
2017.10.07
5.5.62
2017.10.08