~/talk

CMake — From Basics to Building

Talkat NDC TechTown 2025 · 2025-09-22..09-25· [developer-experience]
links:none on file
slides:none on file

CMake 3+ usage principles with actionable rules: explains the distinct configure vs generate phases so configuration logic never depends on build-time choices; shows how to prefer interface/imported targets over global variables and link-directories and why that fixes transitive includes and rebuilds; demonstrates using generator expressions (Genex) to get per-configuration flags while keeping multiconfig generators like Visual Studio and Ninja working; warns against globbing sources and deprecated compile_flags and recommends cache variables for user-configurable defaults.

AI-written summary · about

  1. 0:00Introduction
  2. 1:53What CMake is
  3. 8:40Configure and generate phases
  4. 15:45Targets libraries executables
  5. 21:29Target configuration requirements
  6. 26:46Interface libraries
  7. 29:17External dependencies
  8. 34:37Project settings properties
  9. 39:16Generator expressions
  10. 45:42Modern CMake practices
  11. 51:25Cache variables
  12. 56:25Key takeaways and Q&A
~/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.