#4848th of 55 in Backend and cloud templates

moderncppstarter

CMake template for C++ projects with tests, CI, formatting and docs

Stars
5.4k
License
Unlicense
Last commit
May 2026
Last release
May 2026
Language
CMake
Stars, last 29 weeks+128
22 Apr 2026: 5,283 stars29 Apr 2026: 5,288 stars6 May 2026: 5,295 stars13 May 2026: 5,305 stars20 May 2026: 5,312 stars27 May 2026: 5,317 stars3 Jun 2026: 5,323 stars10 Jun 2026: 5,328 stars17 Jun 2026: 5,330 stars24 Jun 2026: 5,334 stars1 Jul 2026: 5,338 stars8 Jul 2026: 5,340 stars15 Jul 2026: 5,346 stars22 Jul 2026: 5,350 stars29 Jul 2026: 5,352 stars5 Aug 2026: 5,358 stars12 Aug 2026: 5,359 stars19 Aug 2026: 5,365 stars26 Aug 2026: 5,368 stars2 Sept 2026: 5,374 stars9 Sept 2026: 5,378 stars16 Sept 2026: 5,381 stars23 Sept 2026: 5,389 stars30 Sept 2026: 5,391 stars7 Oct 2026: 5,391 stars14 Oct 2026: 5,394 stars21 Oct 2026: 5,398 stars28 Oct 2026: 5,400 stars4 Nov 2026: 5,407 stars11 Nov 2026: 5,411 stars

5,283 on 22 Apr 20265,411 on 11 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

A GitHub template repository for starting a C++ library or executable with a CMake layout already in place. It separates the library, a standalone executable, a test suite and Doxygen documentation into their own CMake subprojects, with GitHub Actions workflows for macOS, Windows and Ubuntu. It has no AI functionality, so it fits the list's categories only loosely.

Who it is for: C++ developers starting a new CMake-based library or application

Strengths

  • Library, standalone, test and docs live in separate CMake subprojects, with an `all` build for IDEs
  • Dependencies are pinned through CPM.cmake, which can fall back to find_package, vcpkg or Conan
  • Optional sanitizers, clang-tidy, iwyu, cppcheck and ccache enabled by CMake flags
  • CI covers macOS, Windows and Ubuntu, with formatting checks, codecov coverage and Doxygen docs on release

Weaknesses

  • No AI, model or agent functionality; it is a generic C++ project scaffold
  • Renaming the `Greeter` placeholder across CMakeLists and include paths is a manual step
  • Uses file GLOB for sources, so adding files requires re-running CMake
  • No CPack installer setup; the README says it is out of scope

What it needs

  • CMake
  • Needs CMake, CPM.cmake, clang-format, cmake-format, Doxygen, codecov
  • GitHub template

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe.

Also in Backend and cloud templates

See all 55
Also in Backend and cloud templates
RankProjectScore
1fastapiPython web framework for typed REST APIs with automatic OpenAPI docs104.7k stars+1,871 (+1.8%) in 30 daysMIT90 out of 100
2fiberExpress-style HTTP web framework for Go, built on fasthttp40.3k starsMIT90 out of 100
3generator-jhipsterCode generator for Java apps with Angular, React or Vue frontends22.5k starsApache-2.090 out of 100
#4serverlessCLI that deploys AWS Lambda code and infrastructure from serverless.yml46.9k starscustom license89 out of 100
#5echoMinimalist Go web framework with a radix-tree router and middleware32.8k starsMIT88 out of 100