From 3fc551f7d5ba1143bc749ed854b2ef5b04d826af Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Thu, 3 Oct 2013 21:32:19 +0000 Subject: [PATCH] Bugfix: Remove obsolete code git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@31106 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/CMakeLists.txt | 26 ++++++-------------------- 1 file changed, 6 insertions(+), 20 deletions(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index dd27363bac..f62f2843a0 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -34,28 +34,14 @@ IF(NOT "${CMAKE_PROJECT_NAME}" STREQUAL "deal.II") ENDIF() SET(_options) -IF("${CMAKE_PROJECT_NAME}" STREQUAL "deal.II") - # - # Setup for the case that this folder is included as a subfolder in a - # deal.II project: - # - - # Write a minimalistic CTestTestfile.cmake file to CMAKE_BINARY_DIR: - FILE(WRITE ${CMAKE_BINARY_DIR}/CTestTestfile.cmake - "SUBDIRS(tests)" - ) - - LIST(APPEND _options -DDEAL_II_SOURCE_DIR=${CMAKE_SOURCE_DIR}) - LIST(APPEND _options -DDEAL_II_BINARY_DIR=${CMAKE_BINARY_DIR}) - -ELSE() - # - # Set up a top level test suite project: - # +# Write a minimalistic CTestTestfile.cmake file to CMAKE_BINARY_DIR: +FILE(WRITE ${CMAKE_BINARY_DIR}/CTestTestfile.cmake + "SUBDIRS(tests)" + ) - SET(TEST_DIR ${CMAKE_CURRENT_SOURCE_DIR}) -ENDIF() +LIST(APPEND _options -DDEAL_II_SOURCE_DIR=${CMAKE_SOURCE_DIR}) +LIST(APPEND _options -DDEAL_II_BINARY_DIR=${CMAKE_BINARY_DIR}) # # Pass all relevant "TEST_" variables down to the subprojects: -- 2.39.5