r/cpp • • Mar 21 '26

Common Package Specification is Out the Gate

https://www.kitware.com/common-package-specification-is-out-the-gate/
75 Upvotes

28 comments sorted by

View all comments

Show parent comment

2

u/drphillycheesesteak Mar 23 '26

That doesn’t really seem like a good reason to hold back a newer standard though? If an older technology like pkg-config wants to add support for CPS, it seems totally reasonable that it might not be able to support all features and would issue warnings or errors if a feature it didn’t support was encountered.

3

u/not_a_novel_account cmake dev Mar 23 '26

The concept of a general purpose package query mechanism which doesn't need "fancy" support infrastructure like compiler introspection is extremely popular.

There are many, many C/C++ developers who think in terms of flag soup and see nothing wrong with that. Generator expressions, and the abstract concepts they support, make them very angry about "over complicated" and "over-engineered" build tools when "all they want are the flags they asked for".