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`.
This commit is contained in:
parent
7c67d4011e
commit
61fcd08a49
|
@ -233,14 +233,13 @@ Options
|
||||||
label associated with the tests run. If there are no labels on the
|
label associated with the tests run. If there are no labels on the
|
||||||
tests, nothing extra is printed.
|
tests, nothing extra is printed.
|
||||||
|
|
||||||
``--build-and-test``
|
``--build-and-test <path-to-source> <path-to-build>``
|
||||||
Configure, build and run a test.
|
Configure, build and run a test.
|
||||||
|
|
||||||
This option tells ctest to configure (i.e. run cmake on), build,
|
This option tells ctest to configure (i.e. run cmake on), build,
|
||||||
and or execute a test. The configure and test steps are optional.
|
and or execute a test. The configure and test steps are optional.
|
||||||
The arguments to this command line are the source and binary
|
The arguments to this command line are the source and binary
|
||||||
directories. By default this will run CMake on the Source/Bin
|
directories.
|
||||||
directories specified unless ``--build-nocmake`` is specified.
|
|
||||||
The ``--build-generator`` option *must* be provided to use
|
The ``--build-generator`` option *must* be provided to use
|
||||||
``--build-and-test``. If ``--test-command`` is specified then that will be
|
``--build-and-test``. If ``--test-command`` is specified then that will be
|
||||||
run after the build is complete. Other options that affect this
|
run after the build is complete. Other options that affect this
|
||||||
|
|
Loading…
Reference in New Issue