Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CppInfo Components internal requirements (#6871)
* Add components requires order * Working draft * Add deps_cpp_info.components test * review comments * review components test * remove repeated test * scoped requires * remove not needed * Add scope to components requires * modify tests * review * disabiguate definition of components requires * Verify package requires in components requires * fix test * Do not allow requiring inexistent package requires
- Loading branch information
Showing
6 changed files
with
598 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
f6fbe52
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible to have a complex library like Abseil packaged using components to serve as a good example?
f6fbe52
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And a second good example would be protobuf - library + compiler binary.
f6fbe52
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, as this feature matures and evolve, the recipes in ConanCenter will start using it.
At the moment, it would be good to have better insights of how this information is consumed downstream by generators, in case something needs to be fixed in the model first.
f6fbe52
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm trying to suggest avoiding a 'chicken-and-egg' problem, where downstream packagers don't know how to use it, and the toolmakers don't know what's needed.