Axel Roebel wrote:
Thanks, in fact I found the problem!
It is due to the repeated call of CollapseFullPath ("") which is used to determine the current absolute path cmDependsC.cxx
for each dependency file with absolute path.

This call is extremely costly on the mac. And it seems completely unnecessary because the current directory is never changed in cmDependsC.cxx. Initialization of the otherwise unused member Directory with the current directory and elemination of CollapseFullPath reduced dependency determination on the mac from 2 minutes too 8 seconds. This is even faster than for cmake 2.2.3.
I have send a patch for closer inspection of the solution
via the bug tracker.

Thanks.  I've fixed it.  See this for details:

http://www.cmake.org/Bug/bug.php?op=show&bugid=3191

-Brad
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to