[Cmake-commits] [cmake-commits] hoffman committed CMakeLists.txt 1.58 1.59
cmake-commits at cmake.org
cmake-commits at cmake.org
Mon Jul 7 15:07:56 EDT 2008
Update of /cvsroot/CMake/CMake/Tests
In directory public:/mounts/ram/cvs-serv32236/Tests
Modified Files:
CMakeLists.txt
Log Message:
ENH: add get_test_property to bootstrap so bootstrap builds test the same as non-bootstrap builds
Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/CMakeLists.txt,v
retrieving revision 1.58
retrieving revision 1.59
diff -C 2 -d -r1.58 -r1.59
*** CMakeLists.txt 3 Jul 2008 19:46:37 -0000 1.58
--- CMakeLists.txt 7 Jul 2008 19:07:54 -0000 1.59
***************
*** 13,26 ****
ENDMACRO(ADD_TEST_MACRO)
- # Support bootstrap builds. When CMake 2.6 is required we can switch
- # to using the get_property command which is in bootstrap. Note that
- # that command will return empty instead of NOTFOUND if the property
- # is not set.
- IF(NOT COMMAND GET_TEST_PROPERTY)
- MACRO(GET_TEST_PROPERTY test prop var)
- SET(${var} "")
- ENDMACRO(GET_TEST_PROPERTY)
- ENDIF(NOT COMMAND GET_TEST_PROPERTY)
-
# Testing
IF(BUILD_TESTING)
--- 13,16 ----
More information about the Cmake-commits
mailing list