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

  • cmake-examples

    Useful CMake Examples

  • 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
  • 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 install schema for single- and multi-config generators | /r/cpp | 2023-12-06

    https://github.com/friendlyanon/cmake-init This is how you do CMake properly. If you deviate from its install rules you are highly likely to do something wrong.

  • ios-cmake

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

  • 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

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

  • Observe

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

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

  • RustCMake

    An example project showing usage of CMake with Rust

  • gersemi

    A formatter to make your CMake code the real treasure

  • cmake-embed

    CMake script for embedding resources in binaries.

  • Qt-CMake-HelloWorld

    A Simple Qt5 Program Built with CMake

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

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

  • 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
  • How does one actually build a C++ project

    3 projects | /r/cpp_questions | 26 May 2023
  • CMakeList.txt, add_executable vs. add_library vs. target_link_libraries vs. target_link_directories

    1 project | /r/cpp_questions | 23 May 2023
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 8 May 2024
    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. Learn more →

Index

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

Project Stars
1 Vcpkg 21,652
2 cmake-examples 11,961
3 ModernCppStarter 4,064
4 CPM.cmake 2,581
5 cmake-init 1,835
6 ios-cmake 1,776
7 corrosion 951
8 cmake-init 905
9 cmake-raytracer 798
10 cpp-project 583
11 python-cmake-buildsystem 423
12 project_options 320
13 cmake-sfml-project 232
14 moderncpp-project-template 223
15 cmake-git-version-tracking 190
16 GLFW-CMake-starter 137
17 Observe 123
18 asap 119
19 RustCMake 109
20 gersemi 90
21 cmake-embed 90
22 Qt-CMake-HelloWorld 87
23 CppCMakeVcpkgTemplate 81

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com