From ce58311b31a3d9a1f76fb55a5e65b875be6d4c96 Mon Sep 17 00:00:00 2001 From: Craig Scott Date: Wed, 10 Aug 2022 16:40:00 +1000 Subject: Help: --build-target can be repeated in ctest --build-and-test mode --- Help/manual/ctest.1.rst | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Help/manual/ctest.1.rst b/Help/manual/ctest.1.rst index c85982c..713a98d 100644 --- a/Help/manual/ctest.1.rst +++ b/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 -- cgit v0.12