Skip to content
Permalink
Browse files
enable debug output for windows Debug and RelWithDebInfo builds (foll…
…ow up 511e89c)
  • Loading branch information
jef-n committed Aug 13, 2012
1 parent 981ea28 commit bef2458
Showing 1 changed file with 5 additions and 0 deletions.
@@ -286,6 +286,11 @@ IF (CMAKE_BUILD_TYPE MATCHES Debug OR CMAKE_BUILD_TYPE MATCHES RelWithDebInfo)
ADD_DEFINITIONS(-DQGISDEBUG=1)
ENDIF (CMAKE_BUILD_TYPE MATCHES Debug OR CMAKE_BUILD_TYPE MATCHES RelWithDebInfo)

IF(MSVC)
SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} -DQGISDEBUG=1")
SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DQGISDEBUG=1")
ENDIF(MSVC)

#############################################################
# platform specific stuff

0 comments on commit bef2458

Please sign in to comment.