Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions reference/config_files/profiles.rst
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,10 @@ Some of the capabilities of the profile templates are:
[settings]
build_type = {{ vars.a }}

When including or importing other files using relative paths, the Jinja renderer uses the base path of the
current profile file as the first location to look for. If this search fails, the Jinja renderer
will also start looking in the Conan home profiles folder (typically in ``<userhome>/.conan2/profiles``).

- Any other feature supported by *jinja2* is possible: for loops, if-else, etc. This
would be useful to define custom per-package settings or options for multiple packages
in a large dependency graph.
Expand Down