Created
August 13, 2012 12:50
-
-
Save jef-n/3340337 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/CMakeLists.txt b/CMakeLists.txt | |
index b96a2ea..6d0f2ff 100644 | |
--- a/CMakeLists.txt | |
+++ b/CMakeLists.txt | |
@@ -291,6 +291,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 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment