~/talk

Oh No! More Modern CMake

Talkat Meeting C++ 2019 · 2019-11-14..11-16· [rust]
links:none on file
slides:none on file

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

  1. 0:00Start
  2. 3:19The Target Centric Approach
  3. 5:17Build Requirements
  4. 6:56Build and Usage Requirements
  5. 7:59Target Link Libraries
  6. 12:35Cmake 3 13
  7. 13:16Object Libraries
  8. 15:25Targeting Libraries
  9. 17:32Object Files
  10. 38:08Config Mode of Fine Package
  11. 44:16External Dependencies
  12. 55:18The Namespace Syntax
  13. 57:07What Should You Take Home
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.