conan-io / conan-io/docs

Document scope for profile section variables

Open
#1,147 0 comments 1 reaction 0 assignees View on GitHub
complex: low priority: high stage: queue
Dominant language
C++
Stars
125
Forks
382
Avg merge
22h 39m
Merged PRs (30d)
21

Description

There are several sections in a profile file and the scope of recipes it applies to is not exactly the same: `settings`, `options`, `env`, `build_requires`. By default, `options` apply only to the consumer, while all the others apply to all the references in the graph. This should be documented [[1]](https://docs.conan.io/en/latest/using_packages/using_profiles.html?highlight=profiles) [[2]](https://docs.conan.io/en/latest/reference/profiles.html#profiles). Same for the options/settings that are assigned using the command line.

Related: https://github.com/conan-io/conan/issues/4861

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.