docs
docs copied to clipboard
Make cpp_info transitive information more clear when using components
When reading the cpp_info page in Conan docs (https://docs.conan.io/2.0/reference/conanfile/methods/package_info.html) we can find explanation about cpp_info attributes and about components, but not about the transitive between them.
It would be great detailing what could be accessed via cpp_info, when having a component. For instance:
The package A has cpp_info.components["foo"].bindirs = ["lib/foo"].
- Will this bindir be available via
cpp_info.bindirs(the global one)? - When consuming package A, its
cpp_info.bindirswill be available when usingVirtualBuildEnvorVirtualRunEnvwhen not declaringA::fooin my cpp_info requires?
/cc @garethsb