-
Pre-requisites 0 hr 5 min
- Lessons
-
8. Creating your first Conan package 0 hr 13 min
-
9. Dependencies, generators and building 0 hr 5 min
-
10. The package() and package_info() methods 0 hr 7 min
-
11. Configuring settings and options, and the package_id method 0 hr 8 min
-
12. Testing Conan packages 0 hr 5 min
-
13. Working with Conan Repositories and Uploading Packages 0 hr 5 min
- Course Feedback
-
We Value Your Feedback
Conan 2 Essentials Module 2: Package Creation and Uploading
Master the complete lifecycle of Conan 2 packaging, from writing recipes and managing dependencies to configuring binary compatibility and uploading to remote repositories.
This module is a practical training designed for developers ready to transition from consuming libraries to creating their own packages using Conan 2. It begins with the fundamental steps of creating your first Conan package and writing a robust recipe. During these exercises, we will explore the critical components of the conanfile.py, including how to handle dependencies, generators, and the build process itself. We will also cover the essential package() and package_info() methods to define exactly how artifacts are stored and linked by consumers. Additionally, we will delve into advanced configuration by manipulating settings and options to control the "Package ID" and ensure validity through the test_package workflow. By the end of the training, you will have the skills to configure remote repositories and upload your binaries, effectively sharing your work with your team or the community.