Use cmake to install dependency libraries?

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
  • OpenfoldersBaseProject

    Discontinued C++ base project using modern cmake ninja multi-config, vcpkg and visual studio(if you are on windows) OpenFolders for seamless workflow. For linux, add your build preset at the bottom of CMakePresets.json

  • Our project utilizes vcpkg to consume all libs we require, even those that are not available on vcpkg repo via overlays. What is nice about overlays is that it allows you to add your own cmake patches to the lib you're consuming which means you can write your own cmake layer for non-cmake libs (ie. bazel based projects, we use it for tensorflowlite), this is pretty much our setup, although this example doesn't show the overlay part

  • CPM.cmake

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

  • Whenever I’m asked this I always recommend CPM https://github.com/cpm-cmake/CPM.cmake it’s hands down the most ergonomic and easy to use way to manage dependencies in CMake

  • 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
  • Vcpkg

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

  • Would port overlays and registries solve the closed source modifications problem for you?

  • cmake-conan

    CMake wrapper for conan C and C++ package manager

  • xmake

    🔥 A cross-platform build utility based on Lua

  • Try xmake, it has really great package management system which uses you existing package managers (I.e APT, brew, VCPKG) but also provides its own

  • 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