Skip to content

Commit

Permalink
docs for &: as option specifier of consumer (#2214)
Browse files Browse the repository at this point in the history
  • Loading branch information
memsharded committed Sep 6, 2021
1 parent 66ef630 commit aac1a11
Showing 1 changed file with 4 additions and 0 deletions.
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

0 comments on commit aac1a11

Please sign in to comment.