]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Bugfix: build_tests should be recompiled if the underlying library changes...
authorMatthias Maier <tamiko@kyomu.43-1.org>
Sun, 6 Oct 2013 19:41:34 +0000 (19:41 +0000)
committerMatthias Maier <tamiko@kyomu.43-1.org>
Sun, 6 Oct 2013 19:41:34 +0000 (19:41 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@31153 0785d39b-7218-0410-832d-ea1e28bc413d

tests/build_tests/CMakeLists.txt

index 382b3b38f1c26cd0903badbf12c165f9658cd3bc..a83326b4a257125c1f685d669c3a8db0ca5e393c 100644 (file)
@@ -16,6 +16,8 @@
 
 CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8)
 INCLUDE(${TEST_DIR}/cmake/setup_testsuite.cmake)
+PROJECT(testsuite CXX)
+INCLUDE(${DEAL_II_TARGET_CONFIG})
 
 #
 # build_tests tests are special:
@@ -76,8 +78,11 @@ FOREACH(_step_full ${_steps})
       ADD_CUSTOM_COMMAND(OUTPUT ${_step_dir}/CMakeLists.txt
         COMMAND ${CMAKE_COMMAND} -E make_directory ${_step_dir}
         ${_command}
-        DEPENDS ${_files}
-        )
+        DEPENDS
+          ${_files}
+          ${DEAL_II_TARGET_DEBUG}
+          ${DEAL_II_TARGET_RELEASE}
+          )
 
       # And a rule on how to configure the example step:
       ADD_CUSTOM_COMMAND(OUTPUT ${_step_dir}/configure_output

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.