~ubuntu-branches/ubuntu/trusty/cmake3/trusty-updates

« back to all changes in this revision

Viewing changes to Help/command/ctest_update.rst

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2017-02-23 17:55:24 UTC
  • Revision ID: package-import@ubuntu.com-20170223175524-5nh7s4pu97fsa0t7
Tags: upstream-3.5.1
ImportĀ upstreamĀ versionĀ 3.5.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
ctest_update
 
2
------------
 
3
 
 
4
Perform the :ref:`CTest Update Step` as a :ref:`Dashboard Client`.
 
5
 
 
6
::
 
7
 
 
8
  ctest_update([SOURCE <source-dir>] [RETURN_VALUE <result-var>] [QUIET])
 
9
 
 
10
Update the source tree from version control and record results in
 
11
``Update.xml`` for submission with the :command:`ctest_submit` command.
 
12
 
 
13
The options are:
 
14
 
 
15
``SOURCE <source-dir>``
 
16
  Specify the source directory.  If not given, the
 
17
  :variable:`CTEST_SOURCE_DIRECTORY` variable is used.
 
18
 
 
19
``RETURN_VALUE <result-var>``
 
20
  Store in the ``<result-var>`` variable the number of files
 
21
  updated or ``-1`` on error.
 
22
 
 
23
``QUIET``
 
24
  Tell CTest to suppress most non-error messages that it would
 
25
  have otherwise printed to the console.  CTest will still report
 
26
  the new revision of the repository and any conflicting files
 
27
  that were found.