Introduction to Conan 2 - The Best C++ Package Manager?

  Рет қаралды 8,045

Coding with Mat

Coding with Mat

Күн бұрын

🚀 Welcome to another C++ related video! In this tutorial, we're diving into Conan 2, a powerful C++ package manager, and one of the best IMO.
Whether you're a seasoned developer or a C++ newbie, understanding package management is crucial to help you speed up project creation, and remove unnecessary manual work when including third party libraries and packages in C++ projects. Join us as we explore Conan 2, its features, and how it simplifies dependency management for your C++ projects.
📘 Key Topics Covered and Time Stamps:
Introduction - 00:00
What is Conan? - 00:07
Why should you use Conan 2 - 00:29
How Conan 2 Works (package ids) - 01:39
Installing Conan 2 - 06:30
Deep Dive into Conanfile - 07:39
Understanding Conan Profiles - 19:07
Integration with CMake - 21:45
Conan in CI/CD - 24:43
Relevant Links:
- Conan index centre (search for packages): conan.io/center
- Conan 2 "conanfile.py" documentation: docs.conan.io/2/reference/con...
- Conan 2 "what's new": docs.conan.io/2/whatsnew.html
- Base64pp repo (see Conan in CI/CD): github.com/matheusgomes28/bas...
Thank you very much for watching! I hope you learnt a little bit more about how to include libraries in C++ projects using Conan 2 and CMake!
Attribution to images used in the thumbnail:
- Conan logo: conan.io/
- Box icon: www.flaticon.com/free-icon/op...

Пікірлер: 16
@TheNgDesign
@TheNgDesign 8 ай бұрын
Great video as always. Good insight into Conan
@mahdies56
@mahdies56 8 ай бұрын
Thank you sir, very useful video.
@codingwithmat
@codingwithmat 8 ай бұрын
You're welcome! Thank you very much for watching ❤
@jabed.akhtar
@jabed.akhtar 7 ай бұрын
thank you so much for the video. It is very helpful :)
@codingwithmat
@codingwithmat 7 ай бұрын
Thank you very much for watching! I'm glad this Conan video helped a lot of c++ devs 😄
@l.piekha100
@l.piekha100 7 ай бұрын
Meu héroi, o conan tava me espancando aqui. Mais um inscrito, gostei do seu conteúdo.
@codingwithmat
@codingwithmat 7 ай бұрын
Thank you for watching! Valeu pela inscrição parceiro 🙏
@xD-saleem
@xD-saleem 8 ай бұрын
Very nice!
@codingwithmat
@codingwithmat 8 ай бұрын
thank you for watching!
@MichaFita
@MichaFita 8 ай бұрын
How this binary caches deals with security? How easily is to get rogue code from a perpetrator? How this works with third parties we need dynamically linked with libraries on the system?
@codingwithmat
@codingwithmat 8 ай бұрын
For the first binary caching question: not everyone can upload binaries to the conan repository, I believe only allowed contributors can do that. I also believe these binaries are reviewed and tested (by many people using the tool itself). It's still not impossible to get malicious code in, just like in any open source project. It's worth noting that you can host your own binary cache conan server, so you can guarantee that only pacakges you or your team have built before are used. Check out the "conan remotes" section in their docs. Regarding the system library questions: in the conanfile, you can specify system libraries needed (such as "libsdl2-dev"). It will check that those libraries exist in the consumer machine, if not it will give you an error saying you need to install such library. You can also let conan install system libraries for you, although I do not recommend these settings.
@stxnw
@stxnw 5 ай бұрын
Ffs Micha, if you care so much about security that you’d overlook a package manager with a design similar to others used in 99% of mainstream languages, just walk away and create your dumb little submodules, as if that’s any more secure 😂
@pup4301
@pup4301 4 ай бұрын
This reminds me of Rust's build file but it combines the Cargo file with it.
@codinablack
@codinablack 29 күн бұрын
It was good, but it would have been better if you had covered all the things you said you weren't going to cover. A more detailed and comprehensive guide to conan is definitely lacking. Some people just don't learn as well from reading documentation as they do from a video tutorial of someone who truly grasps the concepts.
Let's Make an Audio Visualizer in C++
2:13:27
Coding with Mat
Рет қаралды 1,3 М.
Docker Layers in under 60 seconds #docker #containers
0:41
Coding with Mat
Рет қаралды 158
OMG🤪 #tiktok #shorts #potapova_blog
00:50
Potapova_blog
Рет қаралды 17 МЛН
Alat Seru Penolong untuk Mimpi Indah Bayi!
00:31
Let's GLOW! Indonesian
Рет қаралды 10 МЛН
Жайдарман | Туған күн 2024 | Алматы
2:22:55
Jaidarman OFFICIAL / JCI
Рет қаралды 1,4 МЛН
Conan 2.0  | C++ Package Manager - A detailed introduction
51:47
Lötwig Fusel
Рет қаралды 17 М.
CMake - the essential package
27:54
Code for yourself
Рет қаралды 9 М.
How-To Use C++ Libraries (without relying on a package manager)
30:22
Code, Tech, and Tutorials
Рет қаралды 51 М.
Modern C++ package management with Conan 2
1:22:08
NWCPP - Northwest C++ Users Group
Рет қаралды 284
Conan Package Manager for C++ in Practice
1:00:01
NWCPP - Northwest C++ Users Group
Рет қаралды 7 М.
Why and How To Use ImGui For Your Coding Projects | Tutorial & Case Study
43:15
Code, Tech, and Tutorials
Рет қаралды 97 М.
How I Wrote a Script that Cracks Code Automatically
16:53
Low Level Learning
Рет қаралды 65 М.
1$ vs 500$ ВИРТУАЛЬНАЯ РЕАЛЬНОСТЬ !
23:20
GoldenBurst
Рет қаралды 1,4 МЛН
Asus  VivoBook Винда за 8 часов!
1:00
Sergey Delaisy
Рет қаралды 1,1 МЛН