cmake-start
A generator that creates new CMake projects with a modern, opinionated layout, including install rules, tests and CI setup. It saves time when starting a C or C++ project.
Share on XLicense: GPL-3.0
Overview
cmake-init is a Python-driven generator that creates new CMake projects with an opinionated layout. The generated projects work with FetchContent, keep consumer and developer targets separate, provide install rules with relocatable CMake packages, and use modern CMake 3.14 or newer. You answer a few prompts to choose an executable, header-only library or static/shared library, so a C or C++ project starts from a sound base.
Key features
- Prompts for executable, header-only, or static/shared library projects
- Generated projects are ready for FetchContent
- Separates developer targets from consumer targets
- Install rules with relocatable CMake packages
- Tooling for clang-format, clang-tidy, coverage and sanitizers
Best for
C and C++ developers who want a correct modern CMake setup from the start instead of copying outdated examples. It follows the author's own opinions about layout.
- Upstream
- friendlyanon/cmake-init
- Fork on GitHub
- Guo-astro/cmake-start
- Upstream stars
- 2.6k
- Category
- Developer tools and infrastructure
- Language
- CMake
- License
- GPL-3.0
- Forked
- 2025-10-12
- Sync status
- In sync, has own commitsLast synced 2026-10-13
More in Developer tools and infrastructure
iPhone Use lets Codex control a real iPhone over USB through WebDriverAgent for app navigation, page reading, gestures, and text entry. It automates phone tasks and shows a live screen preview.
Forked 2026-10-11Last synced 2026-10-13License: MITDeveloper tools and infrastructureGitHub
AnyPS5 ports PS5 executables to Linux and Windows by converting them to native formats and providing system PRX libraries for dynamic linking. It is for running compatible games without emulation or a separate runtime process.
Forked 2026-10-11Last synced 2026-10-13License: GPL-2.0Developer tools and infrastructureGitHub
Creates full-stack project scaffolds from compatible stack parts, reducing setup and integration work. Use the CLI, browser builder, or MCP server to generate a project.
Forked 2026-10-09Last synced 2026-10-13License: MITDeveloper tools and infrastructureGitHub
A Python SDK for adding local face detection, landmark extraction, and face comparison to applications on Windows and Linux, without sending images off-device.
Forked 2026-10-09Last synced 2026-10-13No license declaredDeveloper tools and infrastructureGitHub