CMake and the Future of C++ Package Management

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

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. 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

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. 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.

  4. 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

  5. xmake

    🔥 A cross-platform build utility based on Lua

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

  6. 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.

  7. 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...).

  8. FunctionalPlus

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

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

  • Best way to manage dependencies with c++?

    15 projects | /r/cpp | 2 Feb 2022
  • CMake and Linking External libraries is a kick in the nuts if i've ever seen it.

    4 projects | /r/cpp | 3 May 2023
  • Graphics in c++ but in wsl

    2 projects | /r/cpp | 28 Apr 2023
  • Where to store libraries in cross-platform C++ app?

    1 project | /r/learnprogramming | 31 Mar 2023
  • How do I include a library in cmake such that it is included in the project?

    1 project | /r/cpp_questions | 21 Feb 2023

Did you know that CMake is
the 63rd most popular programming language
based on number of references?