Common Package Specification (CPS) in Practice: Working Implementation in Conan C++ Package Manager
Talkat CppCon 2024 · on Monday, 2024-09-16· at 14:00· Spruce 3/4, 6700 North Gaylord Rockies Boulevard·
summary
A working CPS implementation lands inside Conan and actually generates tens of thousands of packages (and the metadata for half a million binaries) from ConanCenter; the repo ships a CPS deps generator (available in Conan 2.7) that emits CPS files and maps them back to Conan, then generates CMake, Meson, Autotools and MSBuild files so an example app is built across four build systems successfully while revealing gaps (missing install-time headers, component relationships, CPS file resolution).
AI-written summary · about
chapters (8)
- 0:00Introduction to CPS
- 1:17CPS overview
- 4:26Generating CPS from Conan
- 8:29Mapping packages to CPS
- 17:38Build system integration
- 23:00Native file generation
- 38:48CPS file locations
- 47:19Lessons and conclusions
related talks
01h 12mA Common Package Specification: Getting Build Tools to Talk to Each Other: Lessons Learned From Making Thousands of Binaries Consumable by Any Build System
28mConan, a C and C++ package manager for developers
01h 04mCMake and Conan: past, present and future
57mUsing Conan in a real-world complex project
01h 01mGit, CMake, Conan - How to ship and reuse our C++ projects
01h 08m“Faster Delivery of Large C/C++ Projects with..."
01h 11mThe State of Package Management in C++
01h 29mLibraries: A First Step Toward Standard C++ Dependency Management
