]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Bugfix/Improvement: Pass down (almost) all possible configuration options down to...
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 3 Nov 2013 00:33:24 +0000 (00:33 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 3 Nov 2013 00:33:24 +0000 (00:33 +0000)
git-svn-id: https://svn.dealii.org/trunk@31523 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/scripts/run_testsuite.cmake

index 7f07851263797a1bd100e3bb82d29fa891db62f9..f8130b4c49bf83970ee81607181d208a115233e2 100644 (file)
@@ -258,12 +258,16 @@ IF("${TRACK}" STREQUAL "Build Tests")
   SET(TEST_PICKUP_REGEX "^build_tests")
 ENDIF()
 
-# Pass all relevant "TEST_" variables down to configure:
+# Pass all relevant variables down to configure:
 GET_CMAKE_PROPERTY(_variables VARIABLES)
 FOREACH(_var ${_variables})
-  IF(_var MATCHES
-      "^(TEST_DIFF|TEST_TIME_LIMIT|TEST_PICKUP_REGEX|TEST_OVERRIDE_LOCATION|NUMDIFF_DIR)$"
-      )
+  IF( _var MATCHES "^(TEST|DEAL_II)_" OR
+      _var MATCHES "^(ARPACK|BOOST|FUNCTIONPARSER|HDF5|METIS|MPI|MUMPS)_" OR
+      _var MATCHES "^(NETCDF|P4EST|PETSC|SLEPC|THREADS|TBB|TRILINOS)_" OR
+      _var MATCHES "^(UMFPACK|ZLIB|LAPACK)_" OR
+      _var MATCHES "^(CMAKE|DEAL_II)_(C|CXX|Fortran|BUILD)_(COMPILER|FLAGS)" OR
+      _var MATCHES "^CMAKE_BUILD_TYPE$" OR
+      ( NOT _var MATCHES "^[_]*CMAKE" AND _var MATCHES "_DIR$" ) )
     LIST(APPEND _options "-D${_var}=${${_var}}")
   ENDIF()
 ENDFOREACH()
@@ -483,6 +487,8 @@ MACRO(CLEAR_TARGETDIRECTORIES_TXT)
     )
 ENDMACRO()
 
+MESSAGE("-- CMake Options: ${_options}")
+
 
 ########################################################################
 #                                                                      #

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.