r/cpp • • 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

187 comments sorted by

View all comments

Show parent comments

2

u/target-san Sep 15 '23

The problem isn't in choosing specific version. The problem lies in imposing that specific version. With PM's lockfile, you just choose file contents. With submodule you'll need to bang your head against uncooperative git index directly. Last time I tried to resolve submodule conflict I simply failed bc even after editing index rebaser complained about tree conflict, yet showing none in status or diff.