mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-22 00:06:12 -05:00
enable debug output for windows Debug and RelWithDebInfo builds (follow up 511e89ca3)
This commit is contained in:
parent
981ea28316
commit
bef2458bba
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user