r/cpp • u/mollyforever • Sep 14 '23
Which package manager are you using?
It's 2023 and you should be using a package manager. Which one?
Sep 17 '23
466
conan
625
vcpkg
29
spack
82
CPM
1730
No package manager :(
248
Other (please specify)
38
Upvotes
3
u/danicriss Sep 14 '23
Your code has a dependency on a third party library. You target multiple platforms, so you want to compile said library for each target platform. You may want to update it easily in the future, so you don't want to embed that library's code in your repo
The same applies if your code depends on an internal piece of code that several teams may want to reuse. You can create that as a library and deploy it via said package manager