[CMake] depend.make

Bill Hoffman bill.hoffman at kitware.com
Thu Dec 12 14:23:53 EST 2013


On 12/12/2013 1:07 PM, Lars wrote:
> Building our software using CMake and VS2005 on Windows platform is very
> slow. Debugging this issue I discovered the several of the depent.make
> files are huge. One example is a depent.make file that is roughly 10 MB.
> In this file most of the object files dependent on almost all boost
> header files. I am guessing a huge depent.make file would affect at
> least dependency scanning.
>
> Obviously I do not know how much this affect performance.
>
> Will take a look at ninja.
>
> Any other suggestions?
>
You could do this:
include_regular_expression("^([^b]|b[^o]|bo[^o]|boo[^s]|boos[^t]|boost[^/]).*$")

Then see if it impacts your performance. I would be interested to here 
if it did or did not.

-Bill



More information about the CMake mailing list