How to start a modern C++ project?
summary
Walks through creating a working modern C++ project with concrete choices: uses CMake presets to standardize configure/build/test/package steps, adds vcpkg integration for fmt and Catch2, and wires GitHub Actions to build Debug/Release across GCC, Clang and MSVC on Linux, macOS and Windows. Recommends clang-format, clang-tidy, cppcheck and PVS‑Studio, runs pre-commit hooks, shows a header-only module + test layout, and ships a starter template that took about an hour to assemble.
AI-written summary · about
chapters (10)
- 0:00Introduction and motivation
- 6:13C++ build tool fundamentals
- 13:33Mastering CMake and presets
- 22:02Structuring modern C++ projects
- 29:45Version control and git tips
- 33:27Package management with vcpkg
- 37:23Continuous integration strategy
- 42:33Essential developer tooling
- 50:31Choosing an IDE
- 56:30Project template and conclusion
related talks
01h 04mNew in Visual Studio Code! Clang-Tidy, makefile, CMake, GitHub, & More
01h 00mCollaborative C++ Development with Visual Studio Code
58mLevel Up Your Debugging Workflow with CMake Presets, Disassembly View, & GitHub Actions
01h 01mBetter Tools in Your Clang Toolbox
36mC++ Development with Visual Studio Code
25mUpgrade from "permissive C++" to "modern C++" with Visual Studio 2019
52mHow Visual Studio Code Helps You Develop More Efficiently in C++
01h 06mCommand Line C++ Development
