]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add proper CXX flags for MSVC debug. 536/head
authorLukas Korous <lukas.korous@gmail.com>
Fri, 13 Feb 2015 13:38:10 +0000 (14:38 +0100)
committerLukas Korous <lukas.korous@gmail.com>
Fri, 13 Feb 2015 13:51:35 +0000 (14:51 +0100)
cmake/setup_compiler_flags_msvc.cmake

index c002901b78ab54d77ce85cee8f001ae6f78a397d..75cf4f417bfd4bd009a87ff1ab271a181be703d9 100644 (file)
@@ -72,6 +72,6 @@ IF (CMAKE_BUILD_TYPE MATCHES "Debug")
   LIST(APPEND DEAL_II_USER_DEFINITIONS_DEBUG "DEBUG")
 
   # generate some debug info:
-  ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS_DEBUG "/Zi")
+  ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS_DEBUG "/Zi /MDd")
 ENDIF()
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.