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)
ENDIF()
-##############################
-# #
-# For Release targets: #
-# #
-##############################
+#############################
+# #
+# For Release target: #
+# #
+#############################
IF (CMAKE_BUILD_TYPE MATCHES "Release")
#
ENABLE_IF_SUPPORTED(CMAKE_CXX_FLAGS "-wd1478")
-##############################
-# #
-# For Release targets: #
-# #
-##############################
+#############################
+# #
+# For Release target: #
+# #
+#############################
IF (CMAKE_BUILD_TYPE MATCHES "Release")
#
"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
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