Clean CMake for C++ (library) developers
summary
Claims concrete wins: 100+ open source libraries integrated and actionable rules for library authors. Shows CMake features actually used (target‑centric properties, install/export that creates fooTargets.cmake, presets since 3.19, dependency providers in 3.24), smells to avoid (vendoring, forcing MSVC static runtime), and how packaging and transitive linking really work. Demonstrates building, installing and consuming a library, the generated files and where things break, and when a solution like Conan or fetch_content coupling is appropriate.
AI-written summary · about
chapters (9)
- 0:00C++ library focus
- 3:58Five clean CMake points
- 5:01Use CMake
- 10:03CMake target model
- 23:00Package libraries
- 30:15Consume dependencies
- 35:59Modern dependency handling
- 40:26Clean maintainable CMake
- 51:14Q&A
related talks
01h 02mDeep CMake for Library Authors
01h 02mCMake and the Future of C++
01h 29mLibraries: A First Step Toward Standard C++ Dependency Management
01h 01mGit, CMake, Conan - How to ship and reuse our C++ projects
55mModern CMake for modular design
01h 04mCMake and Conan: past, present and future
01h 01mOh No! More Modern CMake
01h 04mBetter CMake: A World Tour of Build Systems - Better C++ Builds
