]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Bugfixes
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 26 Sep 2012 18:12:27 +0000 (18:12 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 26 Sep 2012 18:12:27 +0000 (18:12 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_cmake@26757 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/README.CMAKE
deal.II/cmake/macros/macro_deal_ii_initialize_cached_variables.cmake

index 80f75f3f24e8e19413638c6e80e2d681ddeb5687..81ba7bf34ea595a2f0e60f318a068fd0cc929ed7 100644 (file)
@@ -7,7 +7,7 @@
 
           ==================================================
 
-          Author: Matthias Maier, University Heidelberg 2012
+  Author: Matthias Maier <matthias.maier@iwr.uni-heidelberg.de>, 2012
 
 
 
index 2a5d2c3a8f4c4bcc85ba1c7747539beca3a32860..c90523e043211a2339d95bf840b0ca3d9f0433ba 100644 (file)
@@ -17,9 +17,19 @@ MACRO(DEAL_II_INITIALIZE_CACHED_VARIABLES)
     "Choose the type of build, options are: Debug, Release"
     )
 
-  SET(CMAKE_CXX_FLAGS ${DEAL_II_CXX_FLAGS})
-  SET(CMAKE_CXX_FLAGS_RELEASE ${DEAL_II_CXX_FLAGS_RELEASE})
-  SET(CMAKE_CXX_FLAGS_DEBUG ${DEAL_II_CXX_FLAGS_DEBUG})
+  SET(CMAKE_CXX_FLAGS ${DEAL_II_CXX_FLAGS} CACHE STRING
+    "Flags used by the compiler during all build types."
+    )
+
+  SET(CMAKE_CXX_FLAGS_DEBUG ${DEAL_II_CXX_FLAGS_DEBUG} CACHE STRING
+    "Flags used by the compiler during debug builds."
+    )
+
+  SET(CMAKE_CXX_FLAGS_RELEASE ${DEAL_II_CXX_FLAGS_RELEASE} CACHE STRING
+    "Flags used by the compiler during release builds."
+    )
+
+  MARK_AS_ADVANCED(CMAKE_INSTALL_PREFIX)
 
 ENDMACRO()
 

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.