~/talk

Managing dependencies with CMake

Talkat Core C++ 2025 · on Sunday, 2025-10-19· [c-and-cpp, devops-and-delivery]
links:none on file
slides:none on file

Explains concrete recipes: use modern target-based find_package with CMake’s ~1880 shipped modules, prefer target imports over raw include/library variables, and avoid ad hoc shared-drive libraries; use fetch content for small projects (sources built locally, slower), use Conan for medium projects (conan generates conan_toolchain.cmake and supplies prebuilt binaries for faster CI), and adopt CMake dependency providers for large ecosystems; tradeoffs: build time, package ecosystem coverage, and complexity of CI integration.

AI-written summary · about

  1. 0:00Introduction
  2. 1:53About the speaker
  3. 2:36CMake basics overview
  4. 5:35Dependency management problem
  5. 7:47Using find_package
  6. 10:00Boost example
  7. 12:55Target-based linking
  8. 15:02FetchContent for dependencies
  9. 17:11Package managers in C++
  10. 18:17Conan integration
  11. 20:27Dependency providers
  12. 22:32FetchContent vs Conan
  13. 24:43Choosing the right tool
  14. 25:30Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.