Skip to content

Commit

Permalink
Add docstring for use multiple targets in target argument #14883 (#15066
Browse files Browse the repository at this point in the history
)

add docstring
  • Loading branch information
czoido authored Nov 6, 2023
1 parent f3dc792 commit 23d96d6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion conan/tools/cmake/cmake.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,8 @@ def build(self, build_type=None, target=None, cli_args=None, build_tool_args=Non
for a multi-configuration generator (e.g. Visual Studio, XCode).
This value will be ignored for single-configuration generators, they will
use the one defined in the toolchain file during the install step.
:param target: Name of the build target to run
:param target: The name of a single build target as a string, or names of multiple build targets in a
list of strings to be passed to the ``--target`` argument.
:param cli_args: A list of arguments ``[arg1, arg2, ...]`` that will be passed to the
``cmake --build ... arg1 arg2`` command directly.
:param build_tool_args: A list of arguments ``[barg1, barg2, ...]`` for the underlying
Expand Down

0 comments on commit 23d96d6

Please sign in to comment.