On 05.10.2011 10:14, Konstantin Tokarev wrote: > > > 05.10.2011, 12:04, "Peter Kümmel"<[email protected]>: >> On 05.10.2011 09:47, Konstantin Tokarev wrote: >> >>> 05.10.2011, 03:38, "Peter Kümmel"<[email protected]>: >>>> The next version (> 2.8.6) of CMake will support ninja, >>>> and I would like to use 'ninja' instead of 'make' >>>> with qtreator. >>>> >>>> The round trip is much faster with ninja. >>>> For instance, a dry run on clang takes 1.4s with >>>> cmake generated Makefiles and 0.16s with ninja. >>> I guess this is limitation of CMake. It generates crappy over-verbose >>> Makefiles as compared with other Makefile generators. >> >> But it's simpler to switch to ninja than to change the build system. >> And I assume a run with qmake's Makefiles is also slower than a run >> run with ninja, but it's hard to prove. Is there a project which >> supports cmake and qmake? >> > > [email protected]:~annulen/openprefqt4/annulens-clone.git > > Take master branch, please. >
I've used a bigger project: http://kst-plot.kde.org/ Running make/ninja on a fresh compiled project with warm caches (in seconds): qmake cmake Ninja Makefiles makefiles -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 Summary: - Ninja is the fastest - cmake Makefiles are really slow, - parallel jobs doesn't help much in this special case. Peter _______________________________________________ Qt-creator mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-creator
