CMake and the Future of C++ Package Management

This page summarizes the projects mentioned and recommended in the original post on /r/cpp

Our great sponsors
  • Onboard AI - Learn any GitHub repo in 59 seconds
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • SaaSHub - Software Alternatives and Reviews
  • CPM.cmake

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

    I haven't tried boost through CPM, but in the wiki there is an example: so it seems that it can

  • Vcpkg

    C++ Library Manager for Windows, Linux, and MacOS

    It doesn't support versions. I live at head so I don't care about that, I want the latest version available. No idea about Windows Server Core Docker, I don't use it but according to the bug tracker the person who complained about that actually just had a failed installation. I use vcpkg in manifest mode + cmake with github's actions and don't have issues with it being any slower than it would normally be building my dependencies the first time. The trick is to treat dependencies as artifacts to be cached, an option most CI services have and a pretty common strategy for CI in general.

  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at

  • cmake-conan

    CMake wrapper for conan C and C++ package manager

    It wrong for conan too, you have this script to run conan from cmake :

  • xmake

    🔥 A cross-platform build utility based on Lua

    xmake already supports c/c++ package management well.

  • Moby

    The Moby Project - a collaborative project for the container ecosystem to assemble container-based systems

    Sadly yes. Here's the relevant github issue for Docker (and I get the impression that it is Docker's fault rather than vcpkg's) and it seems to have got basically no attention.

  • boost-cmake

    Easy Boost integration in CMake projects

    I published this later to achieve the same thing: (though I lack time to upgrade it to recent versions now...).

  • FunctionalPlus

    Functional Programming Library for C++. Write concise and readable C++ code.

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts