cmake-init

The missing CMake project initializer

pythonctestingboilerplatecoveragecmakecppcistatic-analysisexecutablevcpkgheader-only
FreeRepo

Preview

cmake-init preview

Overview

cmake-init is a command-line tool that generates modern CMake projects with proper structure for libraries and executables. It creates projects compatible with CMake's FetchContent system, separates developer and consumer build targets, includes installation rules and integrates optional tools like clang-tidy, cppcheck, code coverage and documentation generation. Use it to quickly bootstrap C and C++ projects with best practices built in.

Features

fetchcontent-readymodern-cmakedeveloper-consumer-separationcode-coveragestatic-analysiscode-formattingspell-checkingpackage-manager-integrationcmake-presetsrelocatable-packagesinstall-rules

Feature Flags

jobsQueuetestingstaticAnalysiscodeFormattingcodeCoveragedocumentationci

Recommended Use Cases

c++-library-developmentc-library-developmentexecutable-projectsheader-only-librariesstatic-library-projectsshared-library-projects

Frontend

None

Backend

cmake

Auth Providers

None

Deployment Targets

None

Payment Providers

None

Quick Facts

โญ Stars
2,4k
๐Ÿด Forks
91
๐Ÿงพ License
gpl-3.0
๐Ÿ”„ Active
Unknown
๐Ÿ•’ Last Commit
2025-02-17T02:53:07.000Z

Stack

Language
c++
Testing
catch2
CI
github-actions

Data Layer

UI Stack

Developer Experience

Docker
No
Tests
Yes
Quickstart
Yes
env.example
No
CI
github-actions

Pricing

Classification
free
Selected
โ€”
Notes
Open source project distributed via PyPI
Get Started with this Boilerplate