Open-source CMake projects categorized as CPP Edit details

Top 20 CMake CPP Projects

  • Vcpkg

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

    Project mention: Why is it that package managers are unnecessarily hard? | | 2022-09-27

    Since it is recommended to have vcpkg as a submodule (see, you should be able to use a relative path. This enable you to have different versions of vcpkg across different projects while keeping it sync with your repository.

  • cmake-examples

    Useful CMake Examples

    Project mention: How do I link fmt library to my project? | | 2022-09-08
  • Scout APM

    Truly a developer’s best friend. Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.

  • ModernCppStarter

    🚀 Kick-start your C++! A template for modern C++ projects using CMake, CI, code coverage, clang-format, reproducible dependency management and much more.

    Project mention: Is Using Project-Templates A Good Thing For Understanding CMake Better? | | 2022-03-05

    I really want to understand CMake in a deeper way. Recently, I have found many project templates like this one: Is using theses templates a good idea to understand how to use CMake very well in a bigger project? Or what alternatives are there? Can anyone recommend good resources, which are the current best practice in these cases. Thank you in advance.

  • CPM.cmake

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

    Project mention: One repository, or many? | | 2022-09-27

    Check out cmake package manager (CPM), built on this concept and gives you a few convenience features such as a cache.

  • cmake-init

    The missing CMake project initializer

    Project mention: Why is it that package managers are unnecessarily hard? | | 2022-09-27

    Try cmake-init. They have a bunch of templates for conan, vcpkg. It will make your life 10% easier.

  • cpp-project

    Boiler plate template for C++ projects, with CMake, Doctest, Travis CI, Appveyor, Github Actions and coverage reports.

  • corrosion

    Marrying Rust and CMake - Easy Rust and C/C++ Integration!

    Project mention: Having to work with C++ made me appreciate how good Rust is. | | 2022-01-12

    Or you can just use one of the many solutions others have already come up with, like this cmake project I found with a minute of googling:

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • Observe

    📣 Hey listen! A simple general-purpose event-listener system for C++17.

  • GLFW-CMake-starter

    Use CMake to create a project with GLFW - Multi-platform Windows, Linux and MacOS.

    Project mention: Good 3D Library for M1 (arm64) mac? | | 2022-03-22

    For a quick start cmake project we made this starter:

  • StaticTypeInfo

    🏀 Up your type-game. A small C++ library for compile-time type names and type indices.

  • flextool

    C++ compile-time programming (serialization, reflection, code modification, enum to string, better enum, enum to json, extend or parse language, etc.)

  • CppCMakeVcpkgTemplate

    A template project to build a C++/CMake/vcpkg based projects with IDE and GitHub Actions. Build is speed up with caching of artifacts.

    Project mention: CMakePresets.json and vcpkg based GitHub Action workflows for C++ | | 2021-10-30

    I'd like to share a minimal C++ project template based on CMakePresets.json and vcpkg manifest mode. It can be of great help to understand how to leverage CMake's presets and vcpkg's manifest, both on your local machine as well on remote builds run on workflows. Enjoy!

  • asm-dom-cmake

    Virtual dom for C++ using asm-dom and cmake

    Project mention: C++ & Javascript | | 2021-10-03

    C++ on web = webassembly, good start is: emscripten or

  • tolc-demo

    Demo to show a typical usecase for tolc

    Project mention: A C++ Bindings Compiler | | 2022-03-08

    Hi everyone!

    Some friends and I were unhappy with how much work it was to use C++ from other languages. We were working in the optimizations industry and often had to prototype with python. Eventually, we created a tool to make it easier for C++ to talk to python (by generating pybind11). Later, javascript via WebAssembly was added as well. It's now at a point where it's very easy to just create a C++ library and use it from any of those languages without change. We're planning on slowly adding more languages as needed/requested. The next on the list are Swift and Kotlin.

    It does not require any change to your existing public interface, but simply reads it and creates the bindings off of that. It should also work on Linux (Debian), MacOS, and Windows (Visual Studio). Here's a small demo if you'd like to test:

    And here are the repositories with the source code: - The executable - The python bindings generator - The WebAssembly bindings generator - The C++ parser

    It is dual licensed with AGPL and, if someone wants, a commercial license as well.

    Would be cool if someone finds it useful!

  • rusty_cmake

    Rust cmake integration template with corrosion and cxx

  • vcpkg_template

    Simple cmkr template to get you started with vcpkg right away.

  • cpp_template

    A C++ template for getting started with new projects

  • wiringPi-mock

    A dummy wiringPi library, for compiling on non-raspberry pi platforms

  • cpp-vcpkg-starter

    A template C++ CMake vcpkg project

    Project mention: Why is it that package managers are unnecessarily hard? | | 2022-09-27

    I recently tried vcpkg with this template repo, and it runs like a dream, it actually comes with fmt already included as an example.

  • libbase-example-cmake

    Example project showing how to integrate libbase with other project using CMake.

    Project mention: C++ Show and Tell - August 2022 | | 2022-08-01

    Demo projects that integrates libbase:


    Download’s Tech Salary Report. Median salaries, most in-demand technologies, state of the remote work... all you need to know your worth on the market by tech recruitment platform

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-09-27.

CMake CPP related posts


What are some of the best open-source CPP projects in CMake? This list will help you:

Project Stars
1 Vcpkg 16,798
2 cmake-examples 9,165
3 ModernCppStarter 2,882
4 CPM.cmake 1,349
5 cmake-init 892
6 cpp-project 492
7 corrosion 389
8 Observe 107
9 GLFW-CMake-starter 71
10 StaticTypeInfo 58
11 flextool 31
12 CppCMakeVcpkgTemplate 21
13 asm-dom-cmake 20
14 tolc-demo 10
15 rusty_cmake 7
16 vcpkg_template 5
17 cpp_template 4
18 wiringPi-mock 1
19 cpp-vcpkg-starter 0
20 libbase-example-cmake 0
Find remote CPP jobs at our new job board There is 1 new remote job listed recently.
Are you hiring? Post a new remote job listing for free.
Download’s Tech Salary Report
Median salaries, most in-demand technologies, state of the remote work... all you need to know your worth on the market by tech recruitment platform