diff --git a/CMakeLists.txt b/CMakeLists.txt index c5e1130921996b6eae49b4e01b1304fa4edda13a..dc4875285f1b32fc88dde006ea577391777444b0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -231,10 +231,6 @@ mark_as_advanced(OTB_USE_DEPRECATED) option(OTB_USE_OPENMP "Add openmp compiler and linker flags" OFF) option(OTB_USE_SSE_FLAGS "Enable SIMD optimizations (hardware dependent)." ON) -#----------------------------------------------------------------------------- -# SHOW_ALL_MSG_DEBUG option -option(OTB_SHOW_ALL_MSG_DEBUG "Show all debug messages (very verbose)" OFF) -#mark_as_advanced(OTB_SHOW_ALL_MSG_DEBUG) include(OTBSetStandardCompilerFlags) #--------------------------------------------------------------- diff --git a/Modules/Core/Common/src/otbConfigure.h.in b/Modules/Core/Common/src/otbConfigure.h.in index 5194398344bab96a44eb4bb622fda9dc1bf0ae46..2146cf15bffa6fdb90e30c766a9f3f483263944e 100644 --- a/Modules/Core/Common/src/otbConfigure.h.in +++ b/Modules/Core/Common/src/otbConfigure.h.in @@ -27,9 +27,6 @@ #cmakedefine OTB_BUILD_SHARED_LIBS -/* Show developer debug messages */ -#cmakedefine OTB_SHOW_ALL_MSG_DEBUG - #cmakedefine OTB_USE_GDAL_20 #cmakedefine OTB_USE_OPENMP diff --git a/Modules/Learning/Supervised/include/otbLibSVMMachineLearningModel.txx b/Modules/Learning/Supervised/include/otbLibSVMMachineLearningModel.txx index 2b14f6dca92ebe4c97d4305b16afe744e5635944..1d1c03e39a67864cbcbe81c014c4a97d7aca59df 100644 --- a/Modules/Learning/Supervised/include/otbLibSVMMachineLearningModel.txx +++ b/Modules/Learning/Supervised/include/otbLibSVMMachineLearningModel.txx @@ -66,7 +66,7 @@ LibSVMMachineLearningModel<TInputValue,TOutputValue> this->m_Problem.l = 0; this->m_Problem.y = ITK_NULLPTR; this->m_Problem.x = ITK_NULLPTR; -#ifndef OTB_SHOW_ALL_MSG_DEBUG +#ifndef NDEBUG svm_set_print_string_function(&otb::Utils::PrintNothing); #endif }