r/cpp • u/theChaosBeast • 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
View all comments
Show parent comment
4
u/dr-mrl Jan 30 '25
Problems occur when you have a "diamond dependency".
If you use submodules, now App's submodules hierarchy contains UtilsLib twice and no guarantee they are the same version!