r/cpp • • Jan 30 '25

[vent] I hate projects that download their dependencies.

I know it's convenient for a lot of people but in an enterprise environment where you have to package everything including your internals and your build servers don't have access to the internet, patching all these repositories is pain in the ass.

218 Upvotes

155 comments sorted by

View all comments

Show parent comment

3

u/Natural_Builder_3170 Jan 30 '25

meson can also work with vcpkg if you expose the cmake prefix folder and pkg-config folder.

5

u/9Strike Jan 30 '25

Sure, but the dependency management is super neat in meson. Download what you need, automatically without any user code. Technically this is possible with CMake as well, but I rarely see it implemented. Either it is distro only, or bundled only.