Kitware releases common package spec (cps) support

This seems like some big news w.r.t. our efforts for conan/vcpackage as maybe we can just go towards cps (conan for sure already supports). @bretbrownjr or @Sdowney can probably say more than I can but as I understand it a single generated json file will provide the supporting information for basically all the packagers.

2 Likes

I’m wondering how the current naming of the CMake targets will work with CPS. Right now, doing find_package(beman.exemplar REQUIRED) will give you an imported target beman::exemplar.

CPS requires the namespace part before the :: to be the package name, though. So if the find_package found a .cps file, the targets would look like beman.exemplar::exemplar

2 Likes