[CMake] FYI - From Ninja-build mailing list - Fwd: Proposal: restat rules

Peter Kümmel syntheticpp at gmx.net
Wed Oct 5 16:13:56 EDT 2011


On 05.10.2011 20:38, Alexander Neundorf wrote:
> On Wednesday 05 October 2011, Peter Kümmel wrote:
>> 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
>>         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
>
>
> and:
> - qmake makefiles don't have complete dependencies
>
> Seriously, if cmakes Makefiles are slower, I am very sure this is because they
> have complete dependencies.
>

Does this mean also the Ninja build file has complete dependencies, because it
is also build by cmake?
If this is the case, then in connection with cmake and an existing ninja binary
make is not needed any more.

Peter


More information about the CMake mailing list