CMake by Example is a hands-on introduction to CMake using annotated example projects. Get started with the hello world example or click on any of the links below. You are encouraged to copy-paste bits from these examples into your own projects as needed.
CMake is the de-facto standard for building C++ code, with over 2 million downloads a month. Itβs a powerful, comprehensive solution for managing the software build process.
This project is inspired by Go by Example, JavaScript by Example, Haskell by Example, Deno by Example, C by Example, and Makefile Tutorial by Example.
π Want more CMake? Check out onqtam/awesome-cmake!