Hello,
We had another great night in San Diego C++ Meetup, the 54th meeting (Sep 12 2023). This time hosting JFrog and specifically having Chris McArthur presenting Conan 2.0.
The session was super informative and easy enough that even if you’re hearing about Conan for the first time, you’d be able to pick it up quickly and start using it in your projects.
The meetup page for this event can be found here.
So what did we learn?
- Describing what is Conan, how does it solve the gap in C++ wrt package management.
- Demo – building a small application pulling in dependencies using Conan.
- spdlog was used in the first demo
- What is conanfile.txt, how to bring in dependencies, installing and integrating into CMake files.
- Dependencies graph and the transitive trait of it.
- Using VSCode as IDE. Clion has also newer version of their Conan plugin that is worth looking at.
- More demos, with more packages, demonstrating different versioning, local caching of the packages. All working flawlessly.
- glad
- glfw
- tinycthread
- linmath
- Using presets
- How to use test_requires packages – e.g. bringing gtest package for build and testing – but not for production distribution.
- What is Conan lock-file and how to utilize it. CI, Reproducible builds.
- Picking up packages from conan-center/conan.io
- Writing a simple conanfile.py to distribute an app as a Conan package. (Conan Recipe).
- Introducing Conan extension.
- Developing Packages Locally.
- Resources on the web – ACCU talks, Conan blog, and future talks in Cppcon2023.
Thanks again for Qualcomm for paying the meetup fees, Charles Bergan, for supporting this group.
Thank you for reading!
Kobi
I really enjoyed reading your blog post about education at Gyansetu. I’m particularly interested in the way that Gyansetu is using technology to make education more accessible and affordable. I think this is a really important development, especially in countries like India where there is a large population of young people who need access to quality education.