Standardise a C++ build tool and package manager?

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

    You could then run a tool that from that descriptor file generates downloads and builds the dependencies via VCPKG and also creates the corresponding CMake file for the project, complete with links to the local dependencies. Ideally you'd also make sure that the CMake file, as much as possible, uses external variables for configuration and is as deterministic as possible so that you can still commit it to source control if desired (although that would mean the CMake script would need to be responsible for fetching and building the VCPKG dependencies, but that's not actually very hard).

  • cpr

    C++ Requests: Curl for People, a spiritual port of Python Requests.

    I think vcpkg manifests have solved a really key portion of the "please give me these libraries" problem. Couple lines in a json file, pass CMake to your vcpkg toolchain script path and triplet, and you're pretty much done with dependencies. I actually used it for a project with libcpr/cpr and a couple other popular libraries, and I was shocked at how painless it was to get up and running with some web request stuff.

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

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