diff --git a/reference/config_files/profiles.rst b/reference/config_files/profiles.rst index 28940bfc59b..81f3ed55587 100644 --- a/reference/config_files/profiles.rst +++ b/reference/config_files/profiles.rst @@ -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 ``/.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.