The package registry for CPM
C++ libraries, one command away
Find a library, add it with cpm install, and build. Each one is compiled once per toolchain and shared by all your projects. No CMake.
0 packages·0 versions·0 downloads
Install CPM
curl -fsSL https://cpm-registry.com/install.sh | shIn a terminal. Installs a C++ compiler and Ninja too, if you need them.
Popular
See allRecently updated
See allNew to CPM?
A manifest, a lockfile and dependencies built once and shared: the npm workflow, for C++.
- 1
cpm init -y hello && cd helloA project: cpm.jsonc, src/ and tests/
- 2
cpm install fmtAdds the library and locks its version
- 3
cpm runBuilds with Ninja and runs it