[Cmake-commits] [cmake-commits] king committed CMakeLists.txt 1.164 1.165

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Dec 10 10:33:47 EST 2009


Update of /cvsroot/CMake/CMake/Tests
In directory public:/mounts/ram/cvs-serv15299/Tests

Modified Files:
	CMakeLists.txt 
Log Message:
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.


Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/CMakeLists.txt,v
retrieving revision 1.164
retrieving revision 1.165
diff -C 2 -d -r1.164 -r1.165
*** CMakeLists.txt	8 Dec 2009 16:44:50 -0000	1.164
--- CMakeLists.txt	10 Dec 2009 15:33:42 -0000	1.165
***************
*** 29,38 ****
  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
--- 29,34 ----



More information about the Cmake-commits mailing list