Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make cpp_info transitive information more clear when using components #3671

Open
uilianries opened this issue Apr 8, 2024 · 0 comments
Open

Comments

@uilianries
Copy link
Member

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.bindirs will be available when using VirtualBuildEnv or VirtualRunEnv when not declaring A::foo in my cpp_info requires?

/cc @garethsb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant