]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Cosmetic changes
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 5 Oct 2012 16:53:33 +0000 (16:53 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 5 Oct 2012 16:53:33 +0000 (16:53 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_cmake@26973 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/setup_compiler_flags.cmake
deal.II/cmake/setup_compiler_flags_gnu.cmake
deal.II/cmake/setup_compiler_flags_intel.cmake
deal.II/cmake/setup_deal_ii.cmake

index a92de7262b61b80d70e1088e244d6b31dfb58101..ddadf2c5adbf4654ebd282299f57c8e0edb5fc56 100644 (file)
@@ -92,9 +92,11 @@ IF(DEAL_II_SETUP_DEFAULT_COMPILER_FLAGS)
 
 
   IF(NOT DEAL_II_KNOWN_COMPILER)
-    MESSAGE(WARNING "\n"
-      "Unrecognized compiler!\n"
-      "Please set the relevant compiler options by hand.\n")
+    MESSAGE(FATAL_ERROR "\n"
+      "Unknown compiler!\n"
+      "If you're serious about it, set DEAL_II_SETUP_DEFAULT_COMPILER_FLAGS=OFF "
+      "and set the relevant compiler options by hand.\n\n"
+      )
   ENDIF()
 
 ELSE(DEAL_II_SETUP_DEFAULT_COMPILER_FLAGS)
index a25b235cccd831ae5ed3ebe85913b421bc468de4..3665e056b4b3ea38f26bc23b72c398faadced223 100644 (file)
@@ -102,11 +102,11 @@ IF(CMAKE_SYSTEM_NAME MATCHES "Darwin")
 ENDIF()
 
 
-##############################
-#                            #
-#    For Release targets:    #
-#                            #
-##############################
+#############################
+#                           #
+#    For Release target:    #
+#                           #
+#############################
 
 IF (CMAKE_BUILD_TYPE MATCHES "Release")
   #
index 9f7247292ffc6ebd64c88ea08413241ec737b8e7..73c770722155fd67fb1eede0a6a1f837ed1210b3 100644 (file)
@@ -66,11 +66,11 @@ ENABLE_IF_SUPPORTED(CMAKE_CXX_FLAGS "-wd177")
 ENABLE_IF_SUPPORTED(CMAKE_CXX_FLAGS "-wd1478")
 
 
-##############################
-#                            #
-#    For Release targets:    #
-#                            #
-##############################
+#############################
+#                           #
+#    For Release target:    #
+#                           #
+#############################
 
 IF (CMAKE_BUILD_TYPE MATCHES "Release")
   #
index bff486cbbddea86cd742861e869e8787ec766c4d..6216ee58b879f08ba84336d69780a41d65a8c069 100644 (file)
@@ -100,6 +100,7 @@ OPTION(DEAL_II_SETUP_DEFAULT_COMPILER_FLAGS
   "configure sensible default CFLAGS and CXXFLAGS depending on platform, compiler and build target."
   ON
   )
+MARK_AS_ADVANCED(DEAL_II_SETUP_DEFAULT_COMPILER_FLAGS)
 
 #
 # Component selection: configuration options regarding the setup of
@@ -160,7 +161,7 @@ SET(DEAL_II_PROJECT_CONFIG_NAME "${DEAL_II_PACKAGE_NAME}")
 
 SET_IF_EMPTY(DEAL_II_BASE_NAME "deal_II")
 SET_IF_EMPTY(DEAL_II_DEBUG_SUFFIX ".g")
-SET_IF_EMPTY(DEAL_II_RELEASE_SUFFIX ".o")
+SET_IF_EMPTY(DEAL_II_RELEASE_SUFFIX "")
 
 SET(DEAL_II_PATH ${CMAKE_INSTALL_PREFIX})
 

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.