ttroy50/cmake-examples resource
Useful CMake Examples observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
Flags: no_readme
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3938
- days_rel: n/a
- days_push: 917
- n_releases_24m: 0
Adoption not part of the score
13076 stars · 2521 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A collection of CMake example configurations arranged as a progressive tutorial, from basic builds to advanced features like testing, static analysis, and packaging. It is a learning resource for developers building C++ projects with CMake.
Use cases
- learn cmake from scratch
- set up unit testing with gtest in cmake
- add static analysis with cppcheck to a cmake project
- package a c++ project with cpack
- configure clang-format in cmake
- structure a modular c++ project with cmake
When to choose
- you are new to CMake and want a step-by-step tutorial with runnable examples
- you need reference snippets for testing, static analysis, or packaging in CMake
- you want a free MIT-licensed resource to onboard a C++ team to CMake
When to avoid
- you need official, exhaustive CMake documentation rather than curated examples
- you are looking for a build tool or library to include in your project rather than learning material
- you need examples verified on platforms other than Linux without adaptation
Facets
learning-resource · maturity stable
build-tool testing documentation developer-tools tutorials compilers windows cross-platform cmake cpp build-systems tutorial unit-testing static-analysis cpack ctest linux macos
1 source
- homepage: http://ttroy50.github.io/cmake-examples · fetched 2026-08-29 · 2e1b33776470
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ttroy50/cmake-examples | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="ttroy50/cmake-examples")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem