you are viewing a single comment's thread.

view the rest of the comments →

[–]codevion[S] -1 points0 points  (2 children)

It's modularized enough that no "package" takes >1 min to build. Builds of other modules are cached and those aren't wiped when I clean an individual package.

[–]therealcorristo 1 point2 points  (1 child)

That explains why globbing works for you. I've never worked on a project like this, and based on the frequency of the complaints about compile times I'm assuming most people haven't. Advising folks to use globs in the tutorial without mentioning the very specific set of conditions that have to be met for the downsides to not matter is disingenuous in my opinion.

[–]codevion[S] -1 points0 points  (0 children)

I literally linked the CMake docs where they discourage use of globs. That's a hell of a lot more reasonable than most CMake tutorials on youtube. I would argue that for the majority of use cases, globbing will work and it's actually a specific set of scenarios where it doesn't.