<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/common-package-specification-pnbygy9pg" -->

---
title: Common Package Specification | daily.dev
description: The Common Package Specification (CPS), now stable in CMake 4.3, is a JSON format for describing installed libraries across build systems like CMake, Meson,...
canonical: https://daily.dev/posts/common-package-specification-pnbygy9pg
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Common Package Specification | daily.dev
og:description: The Common Package Specification (CPS), now stable in CMake 4.3, is a JSON format for describing installed libraries across build systems like CMake, Meson,...
og:url: https://daily.dev/posts/common-package-specification-pnbygy9pg
og:image: https://api.daily.dev/og/posts/Pnbygy9pg.png
og:image:alt: Common Package Specification
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Common Package Specification

**[Andrew Nesbitt](https://daily.dev/sources/nesbitt-io)** · 4 min read · 0 upvotes · 0 comments

## Summary

The Common Package Specification (CPS), now stable in CMake 4.3, is a JSON format for describing installed libraries across build systems like CMake, Meson, and autotools — not across language ecosystems as the name might imply. It replaces the fragmented mix of .pc files and *Config.cmake scripts. Conan can already generate CPS files for ConanCenter packages, and CMake's find_package() reads them. The author explores CPS's potential usefulness for binary dependency tracing, noting it provides version data that can't be reliably recovered from symbol tables. While Ruby's mkmf and node-gyp already use pkg-config for similar purposes, adoption of CPS outside CMake is minimal since most system libraries still ship .pc files. An open proposal to add purl identifiers to CPS files could bridge the build-system world with broader package identifier schemes. Python is tackling adjacent problems independently via PEP 770 (SBOM metadata in wheels) and PEP 725 (external dependency declarations in pyproject.toml), neither of which references CPS. The author notes these efforts are converging on compatible identifiers even without coordination.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://nesbitt.io/2026/04/13/common-package-specification.html>

## Similar posts on daily.dev

- [CMake Pursuing Tighter Integration With Package Managers, Other Improvements](https://daily.dev/posts/cmake-pursuing-tighter-integration-with-package-managers-other-improvements-7sczc9yww) · Phoronix · 0 upvotes · 0 comments
- [CMake 4.3 Released With Package Import/Export Using The Common Package Specification](https://daily.dev/posts/cmake-4-3-released-with-package-import-export-using-the-common-package-specification-00tnfew7l) · Phoronix · 0 upvotes · 0 comments
- [The C-Shaped Hole in Package Management](https://daily.dev/posts/the-c-shaped-hole-in-package-management-jui8k4s0e) · Lobsters · 0 upvotes · 0 comments
- [Package Management RFCs](https://daily.dev/posts/package-management-rfcs-hvdmzbvxh) · Andrew Nesbitt · 0 upvotes · 0 comments
- [C\+\+ Dependencies Without the Headache: vcpkg \+ Copilot CLI](https://daily.dev/posts/c-dependencies-without-the-headache-vcpkg-copilot-cli-zjwbeuhq0) · DevBlogs · 0 upvotes · 0 comments

---

Tags: [#c](https://daily.dev/tags/c), [#sbom](https://daily.dev/tags/sbom)

[View this post on daily.dev](https://daily.dev/posts/common-package-specification-pnbygy9pg)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Common Package Specification","url":"https://daily.dev/posts/common-package-specification-pnbygy9pg","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/common-package-specification-pnbygy9pg"},"datePublished":"2026-04-13T15:54:54.263Z","dateModified":"2026-04-13T15:55:15.809Z","description":"The Common Package Specification (CPS), now stable in CMake 4.3, is a JSON format for describing installed libraries across build systems like CMake, Meson,...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/416572ca2b211e96c4c4b92af22d1ec7?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/416572ca2b211e96c4c4b92af22d1ec7?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Andrew Nesbitt","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Andrew Nesbitt","logo":"https://media.daily.dev/image/upload/logos/placeholder.jpg","url":"https://daily.dev/sources/nesbitt-io"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/common-package-specification-pnbygy9pg","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"c,sbom","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Andrew Nesbitt","item":"https://daily.dev/sources/nesbitt-io"},{"@type":"ListItem","position":3,"name":"Common Package Specification"}]}
```

