]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CMake: Remove DEAL_II_CXX_VERSION_FLAG 10874/head
authorMatthias Maier <tamiko@43-1.org>
Tue, 1 Sep 2020 19:45:26 +0000 (14:45 -0500)
committerMatthias Maier <tamiko@43-1.org>
Tue, 1 Sep 2020 19:45:26 +0000 (14:45 -0500)
This variable is no longer populated. Remove all occurences.

cmake/configure/configure_1_cuda.cmake
cmake/configure/configure_2_boost.cmake
cmake/configure/configure_2_trilinos.cmake
cmake/configure/configure_adolc.cmake
doc/users/cmake_dealii.html

index 3dcff923052ddae06ef7480ebeb38b708854181a..dffca252dc87e4811d58daaad4fd348398573a88 100644 (file)
@@ -173,11 +173,6 @@ MACRO(FEATURE_CUDA_CONFIGURE_EXTERNAL)
   SET(CMAKE_CUDA_USE_RESPONSE_FILE_FOR_LIBRARIES 0)
   SET(CMAKE_CUDA_USE_RESPONSE_FILE_FOR_OBJECTS 0)
 
-  #
-  # Set up cuda flags:
-  #
-  ADD_FLAGS(DEAL_II_CUDA_FLAGS "${DEAL_II_CXX_VERSION_FLAG}")
-
   # We cannot use -pedantic as compiler flags. nvcc generates code that
   # produces a lot of warnings when pedantic is enabled. So filter out the
   # flag:
index e2b6e0b619201852cd39789a3240ea4d724ef499..24463063bce8507a4a3837a803108c23eb842916 100644 (file)
@@ -37,7 +37,6 @@ MACRO(FEATURE_BOOST_CONFIGURE_COMMON)
   # (anymore) which was deprecated for C++11 and removed in the C++17 standard.
   # Older boost versions can't know about this but provide a possibility to
   # circumvent the issue. Hence, we just check ourselves.
-  ADD_FLAGS(CMAKE_REQUIRED_FLAGS "${DEAL_II_CXX_VERSION_FLAG}")
   IF(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
     ADD_FLAGS(CMAKE_REQUIRED_FLAGS "/WX /EHsc")
   ELSE()
@@ -118,7 +117,6 @@ MACRO(FEATURE_BOOST_FIND_EXTERNAL var)
       # Test that Boost.Iostreams is usable.
       #
       RESET_CMAKE_REQUIRED()
-      ADD_FLAGS(CMAKE_REQUIRED_FLAGS "${DEAL_II_CXX_VERSION_FLAG}")
       LIST(APPEND CMAKE_REQUIRED_LIBRARIES ${BOOST_LIBRARIES})
       LIST(APPEND CMAKE_REQUIRED_INCLUDES ${BOOST_INCLUDE_DIRS})
 
index eb521c707a94052f497d6e3633121b47fb3ffadf..fc65b84a109259a0d1b352e3a42b183aa68dc6ab 100644 (file)
@@ -203,7 +203,6 @@ MACRO(FEATURE_TRILINOS_FIND_EXTERNAL var)
       #
       LIST(APPEND CMAKE_REQUIRED_INCLUDES ${Trilinos_INCLUDE_DIRS})
       LIST(APPEND CMAKE_REQUIRED_INCLUDES ${MPI_CXX_INCLUDE_PATH})
-      ADD_FLAGS(CMAKE_REQUIRED_FLAGS "${DEAL_II_CXX_VERSION_FLAG}")
 
       CHECK_SYMBOL_EXISTS(
         "KOKKOS_ENABLE_CUDA_LAMBDA"
@@ -252,7 +251,6 @@ MACRO(FEATURE_TRILINOS_FIND_EXTERNAL var)
       #
       LIST(APPEND CMAKE_REQUIRED_INCLUDES ${Trilinos_INCLUDE_DIRS})
       LIST(APPEND CMAKE_REQUIRED_INCLUDES ${MPI_CXX_INCLUDE_PATH})
-      ADD_FLAGS(CMAKE_REQUIRED_FLAGS "${DEAL_II_CXX_VERSION_FLAG}")
 
       LIST(APPEND CMAKE_REQUIRED_LIBRARIES ${Trilinos_LIBRARIES} ${MPI_LIBRARIES})
 
@@ -311,7 +309,6 @@ MACRO(FEATURE_TRILINOS_FIND_EXTERNAL var)
 
       IF(EXISTS ${SACADO_TRAD_HPP})
         LIST(APPEND CMAKE_REQUIRED_INCLUDES ${Trilinos_INCLUDE_DIRS})
-        ADD_FLAGS(CMAKE_REQUIRED_FLAGS "${DEAL_II_CXX_VERSION_FLAG}")
 
         CHECK_CXX_SOURCE_COMPILES(
           "
index 6ad62473f8dc53077c835265e23a08a59573ce12..3fdd33b0f0a03deddfee397058408ed4d709f852 100644 (file)
@@ -98,7 +98,6 @@ MACRO(FEATURE_ADOLC_FIND_EXTERNAL var)
 
     LIST(APPEND CMAKE_REQUIRED_LIBRARIES ${ADOLC_LIBRARIES})
     LIST(APPEND CMAKE_REQUIRED_INCLUDES ${ADOLC_INCLUDE_DIRS})
-    ADD_FLAGS(CMAKE_REQUIRED_FLAGS "${DEAL_II_CXX_VERSION_FLAG}")
 
     CHECK_CXX_SOURCE_COMPILES("
       #include <adolc/adouble.h>
index 63bd88e76343dc08b9aeba82d038611ffddb6e1e..f4e3b095c0aa4251e5b15abfb7a7d32e4523150e 100644 (file)
@@ -496,15 +496,6 @@ DEAL_II_WITH_ZLIB
       libraries.
     </p>
 
-    <p>
-      Additionally, the variable
-<pre class="cmake">
-DEAL_II_CXX_VERSION_FLAG
-</pre>
-      may be set to specify the <code>C++</code> language version flag passed to
-      the compiler.
-    </p>
-
     <p>
       There are some options to determine the behavior of the dependency
       resolution.

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.