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

Peter Kümmel syntheticpp at gmx.net
Wed Oct 5 15:18:08 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
>

OK, qmake Makefiles are not "complete".

> Seriously, if cmakes Makefiles are slower, I am very sure this is because they
> have complete dependencies.
>

Is there a way to run cmake's Makefiles in the (faster) qmake-"mode" ?

Peter

> Alex
> --
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>


More information about the CMake mailing list