Skip to content

Commit b4c695c

Browse files
authored
Add reference to install profiles path lookups (#3916)
1 parent 02fb9ce commit b4c695c

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

reference/commands/install.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@ highest priority)
8383
# The values of myprofile3 will have higher priority
8484
$ conan install . -pr=myprofile1 -pr=myprofile2 -pr=myprofile3
8585
86+
.. note::
87+
88+
Profiles are searched for in a variety of locations, :ref:`see here for more information <reference_config_files_profiles_using_profiles>`
89+
8690
If values for any of ``settings``, ``options`` and ``conf`` are provided in the command line, they create a profile that
8791
is composed with the other provided ``-pr`` (or the "default" one if not specified) profiles, with higher priority,
8892
not matter what the order of arguments is.

reference/config_files/profiles.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,11 @@ always used:
120120
$ conan create . -pr=myprofile
121121
122122
123+
.. _reference_config_files_profiles_using_profiles:
124+
125+
Using profiles
126+
--------------
127+
123128
Profiles can be located in different folders:
124129

125130
.. code-block:: bash

0 commit comments

Comments
 (0)