From: Lukas Korous Date: Fri, 13 Feb 2015 13:38:10 +0000 (+0100) Subject: Add proper CXX flags for MSVC debug. X-Git-Tag: v8.3.0-rc1~471^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d486e1fb62cd4ee84b8eda6b94588344f85cc48f;p=dealii.git Add proper CXX flags for MSVC debug. --- diff --git a/cmake/setup_compiler_flags_msvc.cmake b/cmake/setup_compiler_flags_msvc.cmake index c002901b78..75cf4f417b 100644 --- a/cmake/setup_compiler_flags_msvc.cmake +++ b/cmake/setup_compiler_flags_msvc.cmake @@ -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()