r/cpp • u/bretbrownjr • Mar 21 '26
Common Package Specification is Out the Gate
https://www.kitware.com/common-package-specification-is-out-the-gate/
75
Upvotes
r/cpp • u/bretbrownjr • Mar 21 '26
View all comments
Show parent comment
3
u/not_a_novel_account cmake dev Mar 21 '26 edited Mar 21 '26
Compiler-introspection is controversial to support in usage requirements. Basically the question to ask is, "is there any way a
pkg-configextension could do this?"If the answer is no, it's a hard sell.
pkg-configdoesn't know what compiler is being used.The reason is: people want to add CPS support to
pkgconfso that there's no need to change how they query for foreign packages.pkgconfhas no hope of supporting something like compiler frontend variant introspection.