Skip to content

Commit

Permalink
enable debug output for windows Debug and RelWithDebInfo builds (foll…
Browse files Browse the repository at this point in the history
…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.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Expand Up @@ -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

Expand Down

0 comments on commit bef2458

Please sign in to comment.