From Jason Turner
Watch on YouTube

Summary

In this extensive episode, Jason tours his `cpp_starter_project` GitHub repository, which serves as a comprehensive modern CMake template for C++ projects. He demonstrates numerous best practices integrated into the project: code formatting with clang-format and cmake-format, static analysis via clang-tidy and cppcheck, sanitizers for runtime analysis, precompiled headers, dependency management with Conan, documentation generation with Doxygen, testing with Catch2 and CTest, and fuzz testing. The project provides a modular approach where each feature can be enabled or disabled as needed, while keeping the main CMakeLists.txt file concise with most of the implementation details moved to separate cmake modules.

Resources

Tags