~/talk

Advanced Dependencies Model in Conan 2.0 C, C++ Package Manager

Talkat ACCU 2022 · 2022-04-06..04-09· [c-and-cpp]
links:none on file
slides:none on file

Conan 2.0 replaces Conan 1.x’s blunt dependency graph with explicit requirement traits (headers, libs, run, build, visibility), plus package types and package-id modes that distinguish embed vs non-embed behavior. The new model lets build tools (cmake as a build-require) influence package IDs, prevents hidden transitive header inclusion, and enables skipping unused binaries so CI and dev machines only fetch needed packages; demo uses conan 2.0 alpha6, shows the graph generator and working installs that reduce rebuilds and downloads.

AI-written summary · about

  1. 0:00Start
  2. 8:35Transitive Dependencies
  3. 9:37Manage the Binaries
  4. 18:23Limitations
  5. 23:47Dependency Graph
  6. 33:45Requirement Traits
  7. 35:50Direct Explicit Requirements
  8. 54:09Visible Trait
  9. 57:02Override Equal True
  10. 1:00:01Non-Embedding Mode
  11. 1:03:15Demo
  12. 1:03:34Conan Graph Info
  13. 1:07:51Conclusions
~/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.