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
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • 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: https://github.com/TheLartians/CPM.cmake/wiki/More-Snippets#boost-via-boost-cmake 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.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • 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 : https://github.com/conan-io/cmake-conan

  • xmake

    🔥 A cross-platform build utility based on Lua

  • xmake already supports c/c++ package management well. https://github.com/xmake-io/xmake

  • 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: https://github.com/Orphis/boost-cmake (though I lack time to upgrade it to recent versions now...).

  • FunctionalPlus

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

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
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