Cross-Platform Pitfalls and How to Avoid Them
summary
Covers concrete cross‑platform workflows: uses CMake as the single generator, shows adding a missing dependency via a vcpkg.json manifest, and demonstrates binary caching via NuGet/GitHub Packages to fetch six packages (four direct, two transitive) in under a second. Shows building and running on Windows and Linux, remote debugging with Visual Studio front end and gdb on Linux, enabling CTest + GoogleTest and a GitHub Actions CI that builds and runs tests on Windows and Ubuntu.
AI-written summary · about
chapters (17)
- 0:00Introduction
- 0:36Example
- 3:16Outline
- 4:06Overview
- 4:32Build Systems vs Build System Generators
- 5:58CMake and the Problems
- 12:07Dependency Management
- 13:40System Package Managers
- 17:38Demo
- 25:43Debugging Problems
- 27:57Debugging Tools
- 30:56Testing Tools
- 31:51Testing Frameworks
- 33:28Testing in Visual Studio
- 41:12Continuous Integration Workflow
- 44:56Recap
- 48:52Questions
related talks
58mLevel Up Your Debugging Workflow with CMake Presets, Disassembly View, & GitHub Actions
50mGitHub Features Every C++ Developer Should Know
55mCMake for the impatient
36mC++ Development with Visual Studio Code
55mOvercoming C++ Embedded Development Tooling Challenges
01h 04mNew in Visual Studio Code! Clang-Tidy, makefile, CMake, GitHub, & More
59mHow to start a modern C++ project?
01h 01mWhy managing C++ dependencies is hard
