Advanced Dependencies Model in Conan 2.0 C, C++ Package Manager
summary
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
chapters (13)
- 0:00Start
- 8:35Transitive Dependencies
- 9:37Manage the Binaries
- 18:23Limitations
- 23:47Dependency Graph
- 33:45Requirement Traits
- 35:50Direct Explicit Requirements
- 54:09Visible Trait
- 57:02Override Equal True
- 1:00:01Non-Embedding Mode
- 1:03:15Demo
- 1:03:34Conan Graph Info
- 1:07:51Conclusions
related talks
01h 04mDependency Management in C++
01h 12mC++ Package Manager - C++ Dependencies Don't Have To Be Painful!
01h 20mContinuous Integration for Large Scale C/C++ Projects With Conan2
01h 08m“Faster Delivery of Large C/C++ Projects with..."
01h 01mGit, CMake, Conan - How to ship and reuse our C++ projects
22mBuilding Portable C++ Packages: The Bliss of Unification
01h 11mThe State of Package Management in C++
03mWhy Conan? 5 reasons to use Conan package manager
