|
|
|
|
|
by megous
1924 days ago
|
|
ninja specifically handles includes automatically. Anyway, not having any other automagical behavior and hidden rules and the fact that it can do incremental and correct job re-runs even when the rules change is exactly why I like to use ninja. Here's one such use case, maybe not the cleanest: https://megous.com/git/p-boot/tree/configure.php I especially love it in projects involving many different compilers/architectures/sdks at once (like when doing low level embedded programming), where things like meson or autotools or arcane Makefile hacks become harder to stomach. |
|
As opposed to say cmake, bazel or other higher level abstractions where you just ask it to take all c-files in this directory and solve the rest.