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. Installable target with automatic versioning information and header generation via PackageProject.cmake. Automatic documentation and deployment with Doxygen and GitHub Pages. Eventually, you can remove any unused files, such as the standalone directory or irrelevant github workflows for your project. Feel free to replace the License with one suited for your project. To keep the template modular, all subprojects derived from the library have been separated into their own CMake modules. This approach makes it trivial for third-party projects to re-use the projects library code.

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

Project Samples

Project Activity

See All Activity >

Follow ModernCppStarter

ModernCppStarter Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of ModernCppStarter!

Additional Project Details

Programming Language

C++

Related Categories

C++ Software Development Software, C++ Admin Templates, C++ Code Coverage Tool, C++ SaaS Boilerplates

Registered

2022-04-20