From 16aa474f6a18df98ffc09a3c185fd4abc6bd1e04 Mon Sep 17 00:00:00 2001 From: Jim Derry Date: Sun, 8 Oct 2017 11:06:41 -0400 Subject: [PATCH] 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. --- CMakeLists.txt | 11 +++-------- version.txt | 4 ++-- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cef7a1e..98d65b2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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") diff --git a/version.txt b/version.txt index 181fe19..49a0268 100644 --- a/version.txt +++ b/version.txt @@ -1,2 +1,2 @@ -5.5.61 -2017.10.07 +5.5.62 +2017.10.08