Просмотр исходного кода

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`.
Jean-Christophe Fillion-Robin 9 лет назад
Родитель
Сommit
61fcd08a49
1 измененных файлов с 2 добавлено и 3 удалено
  1. 2 3
      Help/manual/ctest.1.rst

+ 2 - 3
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