CMake CMake

Open-source CMake projects categorized as CMake

Top 23 CMake CMake Projects

  • Vcpkg

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

    Project mention: Xmake: A modern C/C++ build tool | news.ycombinator.com | 2024-05-04

    re: C/C++ development: anybody using conda/pixi for dependency management? Here's an example of compiling a C++ SDL program using pixi and the SDL dependency from conda-forge [1].

    Seems viable as a replacement for things like vckpg [2] which only builds from source.

    I'm still researching this but it seems like rattler [3] is the tool to use to build/publish packages. The supported repos are: prefix.dev's own hosting, anaconda.org, artifactory or a self-hosted server.

    --

    1: https://github.com/prefix-dev/pixi/blob/main/examples/cpp-sd...

    2: https://github.com/microsoft/vcpkg

    3: https://prefix-dev.github.io/rattler-build/latest/authentica...

  • CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  • cmake-examples

    Useful CMake Examples

  • ModernCppStarter

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

  • CPM.cmake

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

    Project mention: Using raylib with Dear ImGui: Game Dev Debugging UI | dev.to | 2024-04-06

    I like to pin GitHub dependencies using a commit hash, instead of a tag. You need a recent CPM.cmake file in your project for CPM to work.

  • cmake-init

    The missing CMake project initializer

    Project mention: CMake-init – The missing CMake project initializer | news.ycombinator.com | 2024-07-16
  • ios-cmake

    A CMake toolchain file for iOS/iPadOS, visionOS, macOS, watchOS & tvOS C/C++/Obj-C++ development

    Project mention: The Comprehensive Guide to Using C/C++ in Flutter — Part I | dev.to | 2024-08-27
  • corrosion

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

  • SaaSHub

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

    SaaSHub logo
  • cmake-init

    Template for reliable, cross-platform C++ project setup using cmake. (by cginternals)

  • cmake-raytracer

    Ray tracer written in pure CMake

  • cmake-scripts

    Easy-to-add enhancements for any C/C++ CMake project. Including AFL fuzzing, code-coverage, Thread/Address/Leak/Address/Undefined sanitizer instrumentation, compilation of GLSL shaders and more.

    Project mention: CMake Scripts | news.ycombinator.com | 2024-07-30
  • cpp-project

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

  • python-cmake-buildsystem

    A cmake buildsystem for compiling Python

  • project_options

    A general-purpose CMake library that provides functions that improve the CMake experience following the best practices.

  • cmake-sfml-project

    Repository template for SFML projects using CMake

    Project mention: I cant install SFML on Mac | /r/sfml | 2023-12-09

    Okay, so I'm assuming /Users/kadyr is the username for your mac, so let's say you are making an SFML Space Invaders clone. You'd make a directory invaders so it would be /Users/kadyr/invaders then make a CMakeLists.txt file in invaders and copy the contents of the template's [CMakeLists.txt](https://github.com/SFML/cmake-sfml-project/blob/master/CMakeLists.txt) into it. Next, in invaders directory create a build directory [/Users/kadyr/invaders/build] and a src director [/Users/kadyr/invaders/src] to put main.cpp and other code in (this one is just because the template looks for main.cpp in /src -- alternatively you could edit the add_executable() line and remove src/ if you plan to just dump all code into invaders directory). Then run the commands. Just change invaders to whatever you are naming the project and directory you're working on.

  • moderncpp-project-template

    A Modern C++ cross-platform Project Template with CMake, conan (optional), cppcheck (optional) and clang-format (optional)

  • cmake-git-version-tracking

    Embed Git metadata in a C/C++ compatible static library using CMake (e.g. commit ID, author, date, and message).

  • GLFW-CMake-starter

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

  • gersemi

    A formatter to make your CMake code the real treasure

  • asap

    A modern cmake starter project for C++ with a complete build lifecycle, testing, dependency management, etc. Portable across Linux, OS X and Windows. (by abdes)

  • Observe

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

  • embed

    A CMake/C++20 library to embed resource files at compile time (by batterycenter)

  • CppCMakeVcpkgTemplate

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

  • RustCMake

    An example project showing usage of CMake with Rust

  • SaaSHub

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

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

CMake CMake discussion

Log in or Post with

CMake CMake related posts

  • The Comprehensive Guide to Using C/C++ in Flutter — Part I

    2 projects | dev.to | 27 Aug 2024
  • CMake-init – The missing CMake project initializer

    1 project | news.ycombinator.com | 16 Jul 2024
  • Xmake: A modern C/C++ build tool

    7 projects | news.ycombinator.com | 4 May 2024
  • I cant install SFML on Mac

    2 projects | /r/sfml | 9 Dec 2023
  • CMake install schema for single- and multi-config generators

    2 projects | /r/cpp | 6 Dec 2023
  • Hi ive been stuck on this error all day and cannot find a solution that works for me anywhere, "fatal error: SFML\Graphics.hpp: No such file or directory #include <SFML\Graphics.hpp>" seems the compiler cannot find the files\ive set up my include incorrectly but i cant see how, any help appreciated

    1 project | /r/sfml | 28 Jun 2023
  • C++ Roadmap for Simulation Projects with graphics

    1 project | /r/cpp | 5 Jun 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 3 Nov 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

Project Stars
1 Vcpkg 23,143
2 cmake-examples 12,402
3 ModernCppStarter 4,433
4 CPM.cmake 2,991
5 cmake-init 2,019
6 ios-cmake 1,902
7 corrosion 1,082
8 cmake-init 912
9 cmake-raytracer 813
10 cmake-scripts 606
11 cpp-project 597
12 python-cmake-buildsystem 432
13 project_options 352
14 cmake-sfml-project 331
15 moderncpp-project-template 273
16 cmake-git-version-tracking 217
17 GLFW-CMake-starter 157
18 gersemi 147
19 asap 137
20 Observe 124
21 embed 117
22 CppCMakeVcpkgTemplate 110
23 RustCMake 109

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

Did you konow that CMake is
the 59th most popular programming language
based on number of metions?