summaryrefslogtreecommitdiffstats
path: root/Help/command/ctest_configure.rst
blob: 61d93209c2d117c9d9cf9ec18d386e6243c798e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
ctest_configure
---------------

Configure the project build tree.

::

  ctest_configure([BUILD build_dir] [SOURCE source_dir] [APPEND]
                  [OPTIONS options] [RETURN_VALUE res] [QUIET])

Configures the given build directory and stores results in
Configure.xml.  If no BUILD is given, the CTEST_BINARY_DIRECTORY
variable is used.  If no SOURCE is given, the CTEST_SOURCE_DIRECTORY
variable is used.  The OPTIONS argument specifies command line
arguments to pass to the configuration tool.  The RETURN_VALUE option
specifies a variable in which to store the return value of the native
build tool.

The APPEND option marks results for append to those previously
submitted to a dashboard server since the last ctest_start.  Append
semantics are defined by the dashboard server in use.

The QUIET option suppresses any CTest-specific non-error messages
that would have otherwise been printed to the console.  Output from
the underlying configure command is not affected.