Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs for &: as option specifier of consumer #2214

Merged
merged 1 commit into from Sep 6, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions reference/commands/consumer/install.rst
Expand Up @@ -324,6 +324,10 @@ With the :command:`-o` parameters you can only define specific package options.
# you can also apply the same options to many packages with wildcards:
$ conan install . -o *:shared=True
**Experimental:** To define an option just for the consumer conanfile.py use :command:`-o &:shared=True` syntax.
If `&` is specified as the package name it will apply only to the consumer conanfile.py. This is a special case
because the consumer conanfile might not declare a `name` so it would be impossible to reference it.
.. note::
You can use :ref:`profiles <profiles>` files to create predefined sets of **settings**,
Expand Down