]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CMake: Record C++ standard support level in detailed.log 10347/head
authorMatthias Maier <tamiko@43-1.org>
Sun, 24 May 2020 18:03:17 +0000 (13:03 -0500)
committerMatthias Maier <tamiko@43-1.org>
Sun, 24 May 2020 18:03:17 +0000 (13:03 -0500)
cmake/setup_write_config.cmake

index 36c710d504caa71ffe8fe27d56df9670f5cb9298..2dc45a1c850cf1fd7328e0ccc9dd91f7be7c2e20 100644 (file)
@@ -158,6 +158,15 @@ IF(CMAKE_BUILD_TYPE MATCHES "Debug")
 ENDIF()
 _detailed("#        DEAL_II_VECTORIZATION_WIDTH_IN_BITS: ${DEAL_II_VECTORIZATION_WIDTH_IN_BITS}\n")
 
+IF(DEAL_II_HAVE_CXX20)
+  _detailed("#        DEAL_II_HAVE_CXX20\n")
+ELSEIF(DEAL_II_HAVE_CXX17)
+  _detailed("#        DEAL_II_HAVE_CXX17\n")
+ELSEIF(DEAL_II_HAVE_CXX14)
+  _detailed("#        DEAL_II_HAVE_CXX14\n")
+ENDIF()
+
+
 _detailed("#\n")
 
 IF(NOT DEAL_II_SETUP_DEFAULT_COMPILER_FLAGS)

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.