[CMake] Scanning dependencies of target xxx is very slow.

Alexander Neundorf a.neundorf-work at gmx.net
Fri Jun 3 01:11:05 EDT 2011


On Friday, June 03, 2011 04:01:54 AM jianhua wrote:
> Hey all;
> 
> I am a new bible of CMAKE, I just use cmake to rewrite my previous project,
> the problem is that the process "Scanning dependencies of target " is
> really very slow, it will always take more than 20 to 30 minutes for
> scanning.  What does CMAKE do to scan dependencies of target?  Why so
> slow? Is it my project source files dependency issue? If yes, how do I
> improve it? Could you give me some guidence?

Usually it is not that slow.
Can you give us some more information ?
Of how many files consists your target approximately ?
Under which operating system ?
Is it maybe on NFS or samba ?

Alex


More information about the CMake mailing list