Session

Stay calm and stress-free by using a package manager: an overview of vcpkg

So your project depends on some C++ libraries. How do you get them to build with your project? Perhaps you used a git submodule, or you spent an unreasonable amount of time scrolling through GitHub repos to follow the build instructions and update your compiler’s include path and link line. You might be building dependencies of dependencies and trying to get them to work together. You might run into version conflicts when two of your libraries depend on a third library. If one of your libraries has an update available, do you keep it up to date and go back to rebuild everything else it affects? Or do you forget about it, and hope you’re not missing out on some security or performance bugfix, or some cool new feature? I have a simple answer for you. Stop doing all this work manually. Use a package manager. In this video, I will go over vcpkg, the cross-platform, open-source C/C++ package manager from Microsoft and tell you how it can save you time and improve your development workflow. I also explain how it’s different from other package managers and why C++ code necessitates a special way to think about dependency acquisition.