{"repo":"TheLartians/ModernCppStarter","free":true,"listed":false,"github":"https://github.com/TheLartians/ModernCppStarter","clone":"git clone https://github.com/TheLartians/ModernCppStarter.git","description":"🚀 Kick-start your C++! A template for modern C++ projects using CMake, CI, code coverage, clang-format, reproducible dependency management and much more.","language":"CMake","stars":5389,"topics":["cpp","cmake","template","dependency-manager","continuous-integration","ci","c","modern-cmake-template","modern-cmake","starter"],"license":"Unlicense","category":"saas-starters-boilerplates","readme_excerpt":"ModernCppStarter Setting up a new C++ project usually requires a significant amount of preparation and boilerplate code, even more so for modern C++ projects with tests, executables and continuous integration. This template is the result of learnings from many previous projects and should help reduce the work required to setup up a modern C++ project. Features - Modern CMake practices - Suited for single header libraries and projects of any scale - Clean separation of library and executable code - Integrated test suite - Continuous integration via GitHub Actions - Code coverage via codecov - Code formatting enforced by clang-format and cmake-format via Format.cmake - Reproducible dependency management via CPM.cmake - Installable target with automatic versioning information and header generation via PackageProject.cmake - Automatic documentation and deployment with Doxygen and GitHub Pages - Support for sanitizer tools, and more Usage Adjust the template to your needs - Use this repo as a template. - Replace all occurrences of \"Greeter\" in the relevant CMakeLists.txt with the name of your project - Capitalization matters here: Greeter means the name of the project, while greeter is used in file names. - Remember to rename the include/greeter directory to use your project's lowercase name and update all relevant #include s accordingly. - Replace the source files with your own - For header-only libraries: see the comments in CMakeLists.txt - Add your project's codecov token to y","default_branch":null,"files":null,"tree":[],"storefront":"/r/TheLartians","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/TheLartians/ModernCppStarter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}