Re:Ninja: A simple way to do builds
by iainmerrick on Tuesday October 27, 2020 @09:13PM
(#24913917)
Yes, Ninja files are very easy to generate, that’s it’s big selling point for me.
I have a project with dozens of C/C++/asm/precompiled libraries, a few thousand source files in all.
I would have trouble writing Makefile(s) for everything that would even be correct, let alone performant, either by hand or generated. But I have a set of Python scripts to generate a big Ninja build file and it all works very nicely.
Ninja seems to be better suited for big projects, where make's slowness in dependency resolution shows. Ninja files also look easier to generate automatically.