summaryrefslogtreecommitdiffstats
path: root/Help/command/ctest_configure.rst
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-09-21 12:47:51 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-09-21 12:47:51 (GMT)
commit2c2ffd3874f749979d723d7a788d45e3830952d6 (patch)
treeb93129d8c486047de6ea6e7f0143560d753d96a5 /Help/command/ctest_configure.rst
parenteca2af6e66343c51389f6605df79f7e6ce60cf37 (diff)
parentadf1e32fa2da7a7131e65809fe20111b9611e87d (diff)
downloadCMake-2c2ffd3874f749979d723d7a788d45e3830952d6.zip
CMake-2c2ffd3874f749979d723d7a788d45e3830952d6.tar.gz
CMake-2c2ffd3874f749979d723d7a788d45e3830952d6.tar.bz2
Merge topic 'ctest-capture-error'
adf1e32f Help: Add notes for topic 'ctest-capture-error' d328dc68 CTest: Add CAPTURE_CMAKE_ERROR val to `ctest_*` commands 9ac2e189 ctest_coverage: If gcov is not found just warn, not error
Diffstat (limited to 'Help/command/ctest_configure.rst')
-rw-r--r--Help/command/ctest_configure.rst7
1 files changed, 6 insertions, 1 deletions
diff --git a/Help/command/ctest_configure.rst b/Help/command/ctest_configure.rst
index 851c292..b11e77c 100644
--- a/Help/command/ctest_configure.rst
+++ b/Help/command/ctest_configure.rst
@@ -6,7 +6,8 @@ Perform the :ref:`CTest Configure Step` as a :ref:`Dashboard Client`.
::
ctest_configure([BUILD <build-dir>] [SOURCE <source-dir>] [APPEND]
- [OPTIONS <options>] [RETURN_VALUE <result-var>] [QUIET])
+ [OPTIONS <options>] [RETURN_VALUE <result-var>] [QUIET]
+ [CAPTURE_CMAKE_ERROR <result-var>])
Configure the project build tree and record results in ``Configure.xml``
for submission with the :command:`ctest_submit` command.
@@ -33,6 +34,10 @@ The options are:
Store in the ``<result-var>`` variable the return value of the native
configuration tool.
+``CAPTURE_CMAKE_ERROR <result-var>``
+ Store in the ``<result-var>`` variable -1 if there are any errors running
+ the command and prevent ctest from returning non-zero if an error occurs.
+
``QUIET``
Suppress any CTest-specific non-error messages that would have
otherwise been printed to the console. Output from the underlying