CMake/Help/command/ctest_update.rst

19 lines
627 B
ReStructuredText
Raw Normal View History

ctest_update
------------
Update the work tree from version control.
::
2015-02-17 19:45:46 +03:00
ctest_update([SOURCE source] [RETURN_VALUE res] [QUIET])
Updates the given source directory and stores results in Update.xml.
If no SOURCE is given, the CTEST_SOURCE_DIRECTORY variable is used.
The RETURN_VALUE option specifies a variable in which to store the
result, which is the number of files updated or -1 on error.
2015-02-17 19:45:46 +03:00
If QUIET is specified then CTest will suppress most non-error
messages that it would have otherwise printed to the console.
CTest will still report the new revision of the repository
and any conflicting files that were found.