]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Explicitely specify disabling of optimizations for MSVC build. 1321/head
authorLukas Korous <lukas.korous@gmail.com>
Mon, 10 Aug 2015 21:53:01 +0000 (23:53 +0200)
committerLukas Korous <lukas.korous@gmail.com>
Mon, 10 Aug 2015 21:54:04 +0000 (23:54 +0200)
cmake/setup_compiler_flags_msvc.cmake

index bb5b8c45d3ba90a488e86501e252554f4b351ac3..74e78f78f977ec00c7aef3e40efe840fbd8ce904 100644 (file)
@@ -94,6 +94,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 /MDd")
+  ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS_DEBUG "/Zi /MDd /Od")
 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.