From: Matthias Maier Date: Sun, 6 Oct 2013 19:41:34 +0000 (+0000) Subject: Bugfix: build_tests should be recompiled if the underlying library changes... X-Git-Tag: v8.1.0~570^2~98 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0eae790e4449270d5d2e244b5c807e239b8eec3f;p=dealii.git Bugfix: build_tests should be recompiled if the underlying library changes... git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@31153 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/build_tests/CMakeLists.txt b/tests/build_tests/CMakeLists.txt index 382b3b38f1..a83326b4a2 100644 --- a/tests/build_tests/CMakeLists.txt +++ b/tests/build_tests/CMakeLists.txt @@ -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