ctest_update.rst 392 B

12345678910111213
  1. ctest_update
  2. ------------
  3. Update the work tree from version control.
  4. ::
  5. ctest_update([SOURCE source] [RETURN_VALUE res])
  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.