diff options
author | Brad King <brad.king@kitware.com> | 2009-12-10 15:33:42 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-12-10 15:33:42 (GMT) |
commit | 9d823f78479b19a739c3bb9037a0f72f3a65535c (patch) | |
tree | a0e7db5b3ef899dc92ea3cd6db10e78b77371b40 /Tests | |
parent | 08ac33fe6ab5d992ff06de9f96f8a87bf4c43c70 (diff) | |
download | CMake-9d823f78479b19a739c3bb9037a0f72f3a65535c.zip CMake-9d823f78479b19a739c3bb9037a0f72f3a65535c.tar.gz CMake-9d823f78479b19a739c3bb9037a0f72f3a65535c.tar.bz2 |
Apply CMake test-time config to all tests
We configure an EnforceConfig.cmake script to load at CTest time.
Previously we loaded it from Tests/CTestTestfile.cmake, but now we load
it from the top level so it applies to all tests.
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/CMakeLists.txt | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index 2a31989..5fa4059 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -28,12 +28,8 @@ IF(NOT CMAKE_CONFIGURATION_TYPES AND CMAKE_BUILD_TYPE) SET(CTestTest_CONFIG ${CMAKE_BUILD_TYPE}) ENDIF() -# Make sure the 'testing' test gets a proper configuration. CONFIGURE_FILE(${CMake_SOURCE_DIR}/Tests/EnforceConfig.cmake.in ${CMake_BINARY_DIR}/Tests/EnforceConfig.cmake @ONLY) -SET_DIRECTORY_PROPERTIES(PROPERTIES - TEST_INCLUDE_FILE "${CMake_BINARY_DIR}/Tests/EnforceConfig.cmake" - ) # Testing IF(BUILD_TESTING) |