[Cmake-commits] [cmake-commits] king committed CTest.cmake 1.24 1.25
cmake-commits at cmake.org
cmake-commits at cmake.org
Wed Feb 10 10:43:35 EST 2010
Update of /cvsroot/CMake/CMake/Modules
In directory public:/mounts/ram/cvs-serv13151/Modules
Modified Files:
CTest.cmake
Log Message:
Do not warn for unknown CTest UPDATE_TYPE
In the CTest module we previously warned if the source directory did not
contain known version control directories. The message was:
"CTest cannot determine repository type. Please set UPDATE_TYPE
to 'cvs' or 'svn'. CTest update will not work."
This was confusing when building sources from a tarball. Furthermore,
we now support many more version control tools. This feature is now
mature enough that the warning causes confusion more than it provides
real help. We simply remove it.
Index: CTest.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/CTest.cmake,v
retrieving revision 1.24
retrieving revision 1.25
diff -C 2 -d -r1.24 -r1.25
*** CTest.cmake 10 Feb 2010 15:43:28 -0000 1.24
--- CTest.cmake 10 Feb 2010 15:43:33 -0000 1.25
***************
*** 143,153 ****
ENDIF(NOT UPDATE_TYPE)
- IF(NOT UPDATE_TYPE)
- IF(NOT __CTEST_UPDATE_TYPE_COMPLAINED)
- SET(__CTEST_UPDATE_TYPE_COMPLAINED 1 CACHE INTERNAL "Already complained about update type.")
- MESSAGE(STATUS "CTest cannot determine repository type. Please set UPDATE_TYPE to 'cvs' or 'svn'. CTest update will not work.")
- ENDIF(NOT __CTEST_UPDATE_TYPE_COMPLAINED)
- ENDIF(NOT UPDATE_TYPE)
-
STRING(TOLOWER "${UPDATE_TYPE}" _update_type)
IF("${_update_type}" STREQUAL "cvs")
--- 143,146 ----
More information about the Cmake-commits
mailing list