3 ms·
>You mean the one build system that doesn't know the first thing about header files? It's a general purpose DAG runner. It's not really feasible to add parsing
by lolikoisuru 9y ago
>You mean the one build system that doesn't know the first thing about header files?
It's a general purpose DAG runner. It's not really feasible to add parsing for all the different possible languages that one might want to use imports in. Luckily at least GCC and Clang both have the option -MMD and any sane compiler for other languages should have something similiar.
- gmueckl 9y agoC/C++ has text-based inclusion, which is just not a sane form of importing stuff from other modules. This is why we can get crazy stuff like broken partial builds. Most other languages are saner to build and some even come with tailor-made build tools. Using a saner tool than plain make for C/C++ is worth it every time in my book. make can still be very useful for other stuff, though.