This is an archive of pre-modern CMake scripts, modules, examples and others
Your contributions are highly welcome (first see CONTRIBUTING.md).
This file contains links worth taking a look, but they use obsolete practices which are considered non-modern - like not using target_*
-based dependency management - see #16
and #42
for more details.
- Community
- Resources
- Package Management / Build Systems
- Modules
- Utility Scripts
- Toolchains
- Examples / Templates
- Other
- Article - Modern C++ CI (although it uses non-modern CMake like
include_directories()
). - Article - Quick CMake Tutorial - from JetBrains - the company behind CLion.
- vfxcmake - CMake Find modules for common vfx software, and general CMake utility code.
[LGPL]
- sdl2-cmake-scripts - CMake scripts for finding the SDL2, SDL2_image and SDL2_ttf libraries and headers.
[BSD2]
- leatherman - Collection of C++ and CMake utility libraries.
[APACHE2]
- ModernCppCI - An example of doing a Modern C++ project with CI (although it uses non-modern CMake like
include_directories()
).[MIT]
- cleanCppProject - A project template using modern CMake, with packaging, tests, docs, static/dynamic analysis, CI.
[MIT]
- ci_helloworld - A simple example of how to setup a complete CI environment for C and C++.
[MIT]
- cpp_project_template - Simple template to start quickly a C++ project managed by CMake.
[MIT]
- c-template - Boilerplate to set up a c project, include CuTest, CMake build setup.
[MIT]
- Arduino-CMake-Template - Starting point for Arduino development using CMake.
[NO LICENSE]
- cppbase - Template for a simple CMake-based C++ project.
[MIT]
- coveralls-cmake-example - Example project for coveralls-cmake.
[NO LICENSE]
- OpenGL_CMake_Skeleton - A ready to use CMake skeleton using GLFW, Glew and glm.
[MIT]
- Cpp-Project-Template - C++ bootstrap project template including CMake build system.
[MIT]
- CMake-VisualStudio-Example - CMake example for Visual Studio developers - blog post.
[NO LICENSE]
- CppProjectTemplate - Basic, but working, C++ project using CMake, boost and Doxygen.
[MIT]
- cmake-templates - Some CMake Templates. Qt, Boost, OpenCV, C++11, etc.
[MIT]
- CMakeTemplates - Set of initial CMake templates that I use for every game port I work on.
[NO LICENSE]
- weather - Example of using Hunter cross-platform package manager for CMake to build application which use Boost, CppNetlib.URI, GTest, JSON Spirit. Platforms: Windows (Visual Studio), Linux, Mac OS X + iOS.
[BSD2]
- cmake_test - Small example project using CMake.
[NO LICENSE]
- learning-cmake - This is a simple CMake practice project which contains some different scenarios.
[GPL2]
- python-cmake-buildsystem - Replacement buildsystem for CPython.
[APACHE2]
- protobuf-cmake - CMake build support for Google Protobufs.
[BSD3]
- stm32-cmake - Used to develop applications for the STM32 - ST's ARM Cortex-M0(3,4,7) MCUs.
[MIT]
- cython-cmake-example - Utilities and example for using CMake to build Cython modules.
[LICENSE]
- tbb - Threading Building Blocks with CMake build.
[APACHE2]
- sqlite.cmake.build - CMake script for sqlite amalgamation.
[NO LICENSE]
- cmake_format - Source code formatter for CMakeLists.txt files.
[GPL]
- cmrc - A Resource Compiler in a Single CMake Script (compile arbitrary data into a program).
[MIT]
This is released under the Creative Commons Attribution 4.0 International
License (CC BY 4.0)
.