Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Turn on console output when debugging on windows
git-svn-id: http://svn.osgeo.org/qgis/trunk@7977 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
homann committed Jan 15, 2008
1 parent 1b6a3d9 commit 03f1979
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/app/CMakeLists.txt
Expand Up @@ -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)
Expand Down

0 comments on commit 03f1979

Please sign in to comment.