Skip to content
Snippets Groups Projects
Commit dbd27e95 authored by Florent Lamiraux's avatar Florent Lamiraux
Browse files

Activate debug tracing by configuration option CMAKE_VERBOSITY_LEVEL

	 * src/CMakeLists.txt.
parent 490e16b1
No related branches found
No related tags found
No related merge requests found
......@@ -7,8 +7,14 @@ INCLUDE_DIRECTORIES(
${CMAKE_CURRENT_SOURCE_DIR}/../include
)
ADD_DEFINITIONS(-DDEBUG=2)
ADD_LIBRARY(${LIBRARY_NAME}
# Verbosity level
IF (\"${CMAKE_VERBOSITY_LEVEL}\" STREQUAL \"\")
ADD_DEFINITIONS(-DVP_DEBUG_MODE=0)
ELSE (\"${CMAKE_VERBOSITY_LEVEL}\" STREQUAL \"\")
ADD_DEFINITIONS(-DVP_DEBUG_MODE=${CMAKE_VERBOSITY_LEVEL})
ENDIF (\"${CMAKE_VERBOSITY_LEVEL}\" STREQUAL \"\")
ADD_LIBRARY(${LIBRARY_NAME}
SHARED
debug/debug.cpp
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment