~/talk

Modern CMake for modular design

Talkat Meeting C++ 2017 · 2017-11-09..11-11· [devops-and-delivery]
slides:none on file

Shows concrete migration from legacy CMake anti patterns to target-based usage: how to express dependencies with target_link_libraries with PUBLIC/PRIVATE/INTERFACE, how to encapsulate compile flags and headers so transitive includes and cyclic deps are detected and prevented, and how to export build interfaces or generate find_package helpers and imported targets and generated finders for third‑party libs. Includes minimal version guidance (2.8.12/3.x), examples of interface libraries, and specific pitfalls to fix.

AI-written summary · about

  1. 0:00Intro
  2. 1:00Overview
  3. 3:57Simek
  4. 6:32Modular design
  5. 7:30Example
  6. 14:11Constraint separation
  7. 15:53Relationship with build systems
  8. 16:26Modern build systems
  9. 21:51Build flags
  10. 23:21Modern mail system
  11. 24:53Modern dual system
  12. 25:33In practice
  13. 26:55Public vs Private
  14. 27:44Build system
  15. 28:06Private dependency
  16. 29:33No flag
  17. 30:06Maketransitive dependencies
  18. 30:42Constraints
  19. 32:01Global Flags
  20. 34:04Library
  21. 34:50Module Interface
  22. 35:50Dependencies
  23. 36:05Interface
  24. 37:42Patterns
  25. 40:15Feedback
  26. 41:01Other libraries
  27. 41:41External packages
  28. 47:50Syntax
  29. 48:54Target
  30. 50:43Flags
  31. 51:23Packages
  32. 51:55Questions
~/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.