[cmake-developers] dependency scanning speed

Bill Hoffman bill.hoffman at kitware.com
Sat Sep 9 20:56:09 EDT 2006



At 07:19 PM 9/9/2006, Matt Rogers wrote:
>On Saturday 09 September 2006 16:57, Alexander Neundorf wrote:
>> Hi,
>>
>> today I compiled unity (khtml ported to WebKit ported back to KDE) on a
>> Pentium 4 1.8 GHz, 512 MB RAM notebook.
>>
>> Dependency scanning takes approx. 30 seconds for the WebCore subdir there.
>> At http://www.neundorf.net/cmake/unity you can find the cmake files for
>> this directory. As you can see they are BIG. build.make is 2 MB,
>> depend.make is 10 MB.
>> Any ideas how the scanning could be made faster ?

Another thing to consider is to try and make it not do depend information
on system directories.   We do this in VTK with the much hated include_regular_express
command.   But, there is often little gained from depending on system header files that
do not change.

-Bill




More information about the cmake-developers mailing list