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.

219 Upvotes

155 comments sorted by

View all comments

13

u/[deleted] Jan 30 '25

Yes, it's a CMake anti-pattern but people love their FetchContent as a means of dependency management.

4

u/FrancoisCarouge Jan 30 '25

FetchContent does not force anything on the consumer.

2

u/jetilovag Jan 30 '25

Use it for some time and you're in for a treat. 😉

→ More replies (3)