Skip to content
Permalink
Browse files
Turn on console output when debugging on windows
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7977 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
homann committed Jan 15, 2008
1 parent 4f51fa3 commit eed0e95a1abfa23cb5e8d6ae9987821c7ad7aa9f
Showing with 6 additions and 1 deletion.
  1. +6 −1 src/app/CMakeLists.txt
@@ -217,7 +217,12 @@ ENDIF (PYTHON_FOUND)
#############

IF (WIN32)
ADD_EXECUTABLE(qgis WIN32 ${QGIS_APP_SRCS} ${QGIS_APP_MOC_SRCS})
# 'WIN32' removes console, which is Bad when debugging
IF (CMAKE_BUILD_TYPE MATCHES Debug)
ADD_EXECUTABLE(qgis ${QGIS_APP_SRCS} ${QGIS_APP_MOC_SRCS})
ELSE (CMAKE_BUILD_TYPE MATCHES Debug)
ADD_EXECUTABLE(qgis WIN32 ${QGIS_APP_SRCS} ${QGIS_APP_MOC_SRCS})
ENDIF (CMAKE_BUILD_TYPE MATCHES Debug)
ELSE (WIN32)
ADD_EXECUTABLE(qgis ${QGIS_APP_SRCS} ${QGIS_APP_MOC_SRCS})
ENDIF (WIN32)

0 comments on commit eed0e95

Please sign in to comment.