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

Merge topic 'doc-ctest-multi-built-target'

ce58311b31 Help: --build-target can be repeated in ctest --build-and-test mode

Acked-by: Kitware Robot <[email protected]>
Merge-request: !7555
Brad King 3 лет назад
Родитель
Сommit
1493ed10a1
1 измененных файлов с 5 добавлено и 2 удалено
  1. 5 2
      Help/manual/ctest.1.rst

+ 5 - 2
Help/manual/ctest.1.rst

@@ -597,9 +597,12 @@ this mode include:
 
 .. option:: --build-target
 
- Specify a specific target to build.
+ Specify a specific target to build.  The option can be given multiple times
+ with different targets, in which case each target is built in turn.
+ A clean will be done before building each target unless the
+ :option:`--build-noclean` option is given.
 
- If left out the ``all`` target is built.
+ If no ``--build-target`` is specified, the ``all`` target is built.
 
 .. option:: --build-nocmake