How to build libraries in the best way?

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

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • conan

    Conan - The open-source C and C++ package manager

  • For commercial projects random people will not download the source code and try and build it from source. You typically want to ensure that you can ship an end product to the end user that is guaranteed to work on a set of systems that you specify. This means that you want to have tight control of exactly what libraries you use and that there are no conflicts. Here you'll either use your own homemade dependency system, which could just be putting all dependencies in the git repo of your product, or use git submodules or something like that. But today I'd say the superior solution is to use package managers such as Conan or vcpkg

  • axl.math

    Discontinued A simple C++ math library primarily designed for game engines.

  • https://github.com/Defalt8/axl.math <- learn from this

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