# cmake_template

CMake for C++ Best Practices

Repository: https://github.com/cpp-best-practices/cmake_template
Canonical: https://ross.abutalabs.com/products/cmake_template
Language: CMake
License: Unlicense
License Family: permissive
Last push: 2026-08-17T11:06:39+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 8, longevity 100
- inputs: {"age_days": 1637, "days_push": 16, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1802, forks 203 (observed 2026-08-28T04:05:38.123940+00:00)

## What it is
A CMake project template for starting C++ projects quickly with best-practice tooling preconfigured, including sanitizers, static analysis, Conan dependencies, and CI. The related gui_starter_template is archived and merged into this simplified cmake_template.

## Use cases
- start a new C++ project with CMake
- C++ project template with CI and sanitizers
- boilerplate CMake project with Conan dependencies
- set up clang-tidy and cppcheck for a C++ project
- C++ template with unit and fuzz testing
- GitHub Actions matrix for C++ builds

## When to choose
- starting a fresh C++ project and wanting modern tooling out of the box
- you want sanitizers, static analysis, and CI configured for you
- you use Conan for dependency management

## When to avoid
- you need a GUI starter specifically - gui_starter_template is archived
- you prefer a minimal setup without developer-mode tooling
- your project uses a build system other than CMake

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: build-tool, testing, ci-cd
- domain: developer-tools
- platform: cross-platform, cpp
- tags: cmake-template, project-scaffolding, cpp-best-practices, conan, sanitizers, static-analysis, github-template, boilerplate, cpp, cmake

## Member repositories
- cpp-best-practices/cmake_template (main) score 67
- cpp-best-practices/gui_starter_template (mirror) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:38.123940+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T08:31:47.849972+00:00, confidence not recorded.
  - readme: https://github.com/cpp-best-practices/cmake_template (fetched 2026-08-28T04:05:38.123940+00:00, sha 15b6519b7084)
- Data as of 2026-08-30T08:39:29.467469+00:00.
