Commit cd369b53 authored by Emmanuel Christophe's avatar Emmanuel Christophe
Browse files

BUG: OTB_SHOW_ALL_MSG_DEBUG not propagated to project using OTB

parent 5e8623f0
......@@ -436,9 +436,9 @@ LINK_DIRECTORIES(.)
# Option for display all developpment message !!!
OPTION(OTB_SHOW_ALL_MSG_DEBUG "OTB developers : Show all messages (debug, dev, etc...) use only for otb developers." OFF)
MARK_AS_ADVANCED(OTB_SHOW_ALL_MSG_DEBUG)
IF( OTB_SHOW_ALL_MSG_DEBUG )
ADD_DEFINITIONS(-DOTB_ACTIVE_MSG_DEV_MACRO)
ENDIF( OTB_SHOW_ALL_MSG_DEBUG )
# IF( OTB_SHOW_ALL_MSG_DEBUG )
# ADD_DEFINITIONS(-DOTB_SHOW_ALL_MSG_DEBUG)
# ENDIF( OTB_SHOW_ALL_MSG_DEBUG )
#-----------------------------------------------------------------------------
# Advanced option to avoid recompiling utilities at each cmake reconfiguration
......
......@@ -80,7 +80,7 @@
#if defined(OTB_LEAN_AND_MEAN) || defined(__BORLANDC__)
#define otbMsgDevMacro(x)
#else
#ifdef OTB_ACTIVE_MSG_DEV_MACRO
#ifdef OTB_SHOW_ALL_MSG_DEBUG
#define otbMsgDevMacro(x) \
{ { ::itk::OStringStream itkmsg; \
itkmsg << " Msg Dev: " x << "\n"; \
......
......@@ -90,6 +90,9 @@ SET(OTB_VISU_GUI_LIBRARIES "@OTB_VISU_GUI_LIBRARIES@")
# Video card acceleration
SET(OTB_GL_USE_ACCEL "@OTB_GL_USE_ACCEL@")
#Developpers message
SET(OTB_SHOW_ALL_MSG_DEBUG "@OTB_SHOW_ALL_MSG_DEBUG@")
# The list of OTB/Utilities IO libraries
SET(OTB_IO_UTILITIES_DEPENDENT_LIBRARIES "@OTB_IO_UTILITIES_DEPENDENT_LIBRARIES@")
......
......@@ -54,3 +54,6 @@
/* Use opengl acceleration */
#cmakedefine OTB_GL_USE_ACCEL
/* Show developper debug messages */
#cmakedefine OTB_SHOW_ALL_MSG_DEBUG
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment