Useful CMake Examples
Repository Index
47,133 repositories indexed
1–24 of 33 · Most stars
🚀 Kick-start your C++! A template for modern C++ projects using CMake, CI, code coverage, clang-format, reproducible dependency management and much more.
- cpp
- cmake
- template
- dependency-manager
A collection of as simple as possible, modern CMake projects
- cmake
- cmake-examples
- cmake-scripts
- cmakelists
My collection of CMake modules
Template for reliable, cross-platform C++ project setup using cmake.
- c-plus-plus
- cmake
- template
- c-plus-plus-11
Boiler plate template for C++ projects, with CMake, Doctest, Travis CI, Appveyor, Github Actions and coverage reports.
- boilerplate
- cpp
- coveralls
- travis-ci
Easy Boost integration in CMake projects
A small c++ template with modern CMake
A toolchain file and examples using cmake for iOS development (this is a fork of a similar project found on code.google.com)
A minimal CMake template for Qt 5 & 6 projects
Useful cmake macros that help with: compiler/linker flags, collecting sources, PCHs, Unity builds and other stuff.
- linker-flags
- cmake
- compiler-flags
- unity-build
Visual Studio and GCC precompiled header macro for CMake
Example project which demonstrates various CMake features.
Concise CMake 3.31+ templates for C++ executables and libraries.
- cmake
- template
CMake precompiled header support via custom PCH compiler extension
- cmake
- cmake-precompiled-headers
- clang
- gcc
CMake module for code coverage
- cmake
- codecov
- code-coverage
- gcov
CMake checks cache helper modules – for fast CI CMake builds!
A simple, cross-platform, and continuously integrated C++14 project template
- cpp
- cpp14
- cmake
- project-template
YCM (YCM CMake modules) is a collection of various useful CMake modules.
Standardise code formating for cmake projects with git and clang-format
Catkin-friendly C++ bindings for tensorflow.
- tensorflow
- ros
- catkin
- cpp
Bunch of CMake pain in the baker
- cmake
- cmake-modules
- cmake-scripts
Installation example for a C++ project (Windows) with Cmake.
CMake module collection