Oh No! More Modern CMake
summary
Shows concrete changes and practices: relative paths fixed in CMake 3.13 so target_sources works across directories, object libraries propagation clarified in CMake 3.14 (object files don’t propagate like normal linkables), and recommends using CMake 3.15+. Demonstrates using FetchContent to build GoogleTest (and workarounds for old CMP0048 policy), and using find_package in CONFIG mode for Boost 1.70+ with the new ALL component to create imported targets that are promoted to global scope.
AI-written summary · about
chapters (13)
- 0:00Start
- 3:19The Target Centric Approach
- 5:17Build Requirements
- 6:56Build and Usage Requirements
- 7:59Target Link Libraries
- 12:35Cmake 3 13
- 13:16Object Libraries
- 15:25Targeting Libraries
- 17:32Object Files
- 38:08Config Mode of Fine Package
- 44:16External Dependencies
- 55:18The Namespace Syntax
- 57:07What Should You Take Home








