ctest_update.rst 627 B

123456789101112131415161718
  1. ctest_update
  2. ------------
  3. Update the work tree from version control.
  4. ::
  5. ctest_update([SOURCE source] [RETURN_VALUE res] [QUIET])
  6. Updates the given source directory and stores results in Update.xml.
  7. If no SOURCE is given, the CTEST_SOURCE_DIRECTORY variable is used.
  8. The RETURN_VALUE option specifies a variable in which to store the
  9. result, which is the number of files updated or -1 on error.
  10. If QUIET is specified then CTest will suppress most non-error
  11. messages that it would have otherwise printed to the console.
  12. CTest will still report the new revision of the repository
  13. and any conflicting files that were found.