[CMake] FYI - From Ninja-build mailing list - Fwd: Proposal: restat rules
syntheticpp at gmx.net
Wed Oct 5 14:35:31 EDT 2011
And here some numbers to compare it with Qt's qmake.
I've used this project: http://kst-plot.kde.org/
which supports qmake and cmake.
Running make/ninja on a fresh compiled project
with warm caches (in seconds):
qmake cmake Ninja
-j1 0.5-0.8 1.6-1.9 0.11-0.14
-j2 0.6-0.8 1.3-1.4 0.11-0.13
-j4 0.6-0.7 1.1-1.4 0.10-0.13
- Ninja is the fastest
- cmake Makefiles are really slow
- parallel jobs doesn't help much in this special case
More information about the CMake