cpm-cmake/CPM.cmake
📦 CMake's missing package manager. A small CMake script for setup-free, cross-platform, reproducible dependency management. observed · 2026-08-28
Health v2 · maintenance only
93/100
- Activity 91
- Release rhythm 92
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 14
- age_days: 2703
- days_rel: 58
- days_push: 58
- n_releases_24m: 12
Adoption not part of the score
4105 stars · 225 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
CPM.cmake is a small CMake script that adds setup-free, cross-platform dependency management to CMake projects. It wraps CMake's FetchContent module with version pinning, caching, and a simple CPMAddPackage API.
Use cases
- manage c++ dependencies without installing a package manager
- pin dependency versions reproducibly in cmake
- fetch github projects directly into a cmake build
- avoid vcpkg or conan setup for small projects
- cache dependencies across builds to speed up ci
When to choose
- your project uses modern cmake and you want zero-setup dependency management
- you want reproducible builds with version-controlled dependencies
- you want to consume any git repo or downloadable source as a dependency without packaging it
When to avoid
- you need prebuilt binaries or a large curated package ecosystem
- your team already standardizes on vcpkg, conan, or system packages
- you need dependency resolution with complex version constraint solving
Facets
library · maturity active
package-manager build-tool developer-tools developer-tools cross-platform version-control windows cpp cross-platform cmake dependency-management fetchcontent reproducible-builds c-plus-plus linux macos
1 source
- readme: https://github.com/cpm-cmake/CPM.cmake · fetched 2026-08-28 · dc80c5f5f2c7
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| cpm-cmake/CPM.cmake | main | 93 |
For agents
markdown · JSON · MCP: product_card(name="cpm-cmake/CPM.cmake")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem