{"repo":"filipdutescu/modern-cpp-template","free":true,"listed":false,"github":"https://github.com/filipdutescu/modern-cpp-template","clone":"git clone https://github.com/filipdutescu/modern-cpp-template.git","description":"A template for modern C++ projects using CMake, Clang-Format, CI, unit testing and more, with support for downstream inclusion.","language":"CMake","stars":1914,"topics":["cmake","cmake-template","clang-format","cpp","template","gtest","google-test","cmake-module","cmakelists","github-actions"],"license":"Unlicense","category":"dev-tools","readme_excerpt":"Modern C++ Template A quick C++ template for modern CMake projects, aimed to be an easy to use starting point. This is my personal take on such a type of template, thus I might not use the best practices or you might disagree with how I do things. Any and all feedback is greatly appreciated! Features Modern CMake configuration and project, which, to the best of my knowledge, uses the best practices, An example of a Clang-Format config, inspired from the base Google model, with minor tweaks. This is aimed only as a starting point, as coding style is a subjective matter, everyone is free to either delete it (for the LLVM default) or supply their own alternative, Static analyzers integration, with Clang-Tidy and Cppcheck , the former being the default option, Doxygen support, through the ENABLE DOXYGEN option, which you can enable if you wish to use it, Unit testing support, through GoogleTest (with an option to enable GoogleMock ) or Catch2 , Code coverage , enabled by using the ENABLE CODE COVERAGE option, through Codecov CI integration, Package manager support , with Conan and Vcpkg , through their respective options CI workflows for Windows, Linux and MacOS using GitHub Actions , making use of the caching features, to ensure minimum run time, .md templates for: README , Contributing Guideliness , Issues and Pull Requests , Permissive license to allow you to integrate it as easily as possible. The template is licensed under the Unlicense, Options to build as a header-only lib","default_branch":null,"files":null,"tree":[],"storefront":"/r/filipdutescu","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/filipdutescu/modern-cpp-template/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."}