mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-05 05:39:57 -05:00
Merge topic 'issue-18883-support-for-multiple-targets'
324d18bb34cmake: Teach --build mode to support multiple targetsebc94500c1cmGlobalGenerator: Optimize Printable() method from GeneratedMakeCommandfdeb364a84cmGlobalGenerator: Change case of methods from GeneratedMakeCommand structb3955a08abcmakemain: Remove ignored --use-stderr option from command line helpf1367c8c51cmGlobalGenerator: Remove unused code Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2939
This commit is contained in:
@@ -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