Hacker GitHub

← All repos

cpm-cmake/CPM.cmake

View on GitHub ↗ ★ 4,158 CMake

📦 CMake's missing package manager. A small CMake script for setup-free, cross-platform, reproducible dependency management.

6 mentions on Hacker News by 4 people: 1 story, 5 comments · first 2022-03-08 · latest 2025-05-10

Mentions per year 6 mentions · busiest year 2022 (2)
20082026
  1. …to build basic sources/libraries/executables. And you can either use CMake FetchContent or use CPM https://github.com/cpm-cmake/CPM.cmake to fetch dependencies. No third-party tool like vcpkg or conan is needed.
  2. Have you taken a look at CPM ? https://github.com/cpm-cmake/CPM.cmake . It makes CMake project management easy - no need for separate package manager tool.
    comment by lenkite · 2024-11-25 · in The two factions of C++
  3. There's also https://github.com/cpm-cmake/CPM.cmake which is mostly a wrapper around FetchContent with good caching. I used vcpkg for https://github.com/zig-for/snfm - it made builds easy, but I'm on the fence if I'd use it for anything…
  4. …but things are getting better. I use CPM for a couple of years now and get the experience desired https://github.com/cpm-cmake/CPM.cmake
  5. If a project supports cmake, this is the best package manager to fetch it https://github.com/cpm-cmake/CPM.cmake
    comment by guavaNinja · 2022-03-08 · in C Package Manager