mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-23 06:47:08 -05:00
committed by
Brad King
parent
ebc94500c1
commit
324d18bb34
@@ -14,7 +14,7 @@ This is mainly intended for internal use by the :module:`CTest` module.
|
||||
|
||||
Sets the given ``<variable>`` to a command-line string of the form::
|
||||
|
||||
<cmake> --build . [--config <config>] [--target <target>] [-- -i]
|
||||
<cmake> --build . [--config <config>] [--target <target>...] [-- -i]
|
||||
|
||||
where ``<cmake>`` is the location of the :manual:`cmake(1)` command-line
|
||||
tool, and ``<config>`` and ``<target>`` are the values provided to the
|
||||
|
||||
@@ -276,8 +276,8 @@ following options:
|
||||
The :envvar:`CMAKE_BUILD_PARALLEL_LEVEL` environment variable, if set,
|
||||
specifies a default parallel level when this option is not given.
|
||||
|
||||
``--target <tgt>``
|
||||
Build ``<tgt>`` instead of default targets. May only be specified once.
|
||||
``--target <tgt>...``
|
||||
Build ``<tgt>`` instead of default targets. May be specified multiple times.
|
||||
|
||||
``--config <cfg>``
|
||||
For multi-configuration tools, choose configuration ``<cfg>``.
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
cmake-build-multiply-targets
|
||||
----------------------------
|
||||
|
||||
* The :manual:`cmake(1)` ``--build`` tool ``--target`` parameter gained support for
|
||||
multiple targets, e.g. ``cmake --build . --target Library1 Library2``.
|
||||
Reference in New Issue
Block a user