summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorJean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>2016-05-05 14:21:52 (GMT)
committerBrad King <brad.king@kitware.com>2016-07-05 15:19:01 (GMT)
commit61fcd08a495a154e95add1a5e9d3ccc13dfb2486 (patch)
tree70f00e16b56e15994321cb04073ca591e39abf56 /Help
parent7c67d4011e56fad3cf775818110fbd8d5d4be766 (diff)
downloadCMake-61fcd08a495a154e95add1a5e9d3ccc13dfb2486.zip
CMake-61fcd08a495a154e95add1a5e9d3ccc13dfb2486.tar.gz
CMake-61fcd08a495a154e95add1a5e9d3ccc13dfb2486.tar.bz2
Help: Fix documentation of ctest --build-and-test
Since commit v3.0.0-rc1~260^2~14 (ctest: Make the --build-makeprogram optional for --build-and-test, 2013-11-14), binary dictionary is also required to run CTest given the option `--build-nocmake`.
Diffstat (limited to 'Help')
-rw-r--r--Help/manual/ctest.1.rst5
1 files changed, 2 insertions, 3 deletions
diff --git a/Help/manual/ctest.1.rst b/Help/manual/ctest.1.rst
index 04b1d01..ce81578 100644
--- a/Help/manual/ctest.1.rst
+++ b/Help/manual/ctest.1.rst
@@ -233,14 +233,13 @@ Options
label associated with the tests run. If there are no labels on the
tests, nothing extra is printed.
-``--build-and-test``
+``--build-and-test <path-to-source> <path-to-build>``
Configure, build and run a test.
This option tells ctest to configure (i.e. run cmake on), build,
and or execute a test. The configure and test steps are optional.
The arguments to this command line are the source and binary
- directories. By default this will run CMake on the Source/Bin
- directories specified unless ``--build-nocmake`` is specified.
+ directories.
The ``--build-generator`` option *must* be provided to use
``--build-and-test``. If ``--test-command`` is specified then that will be
run after the build is complete. Other options that affect this