[CMake] build time / unneccessary configure for library targets on switch from 2.0.6 to 2.4.2

Brandon J. Van Every bvanevery at gmail.com
Mon Jun 5 16:20:20 EDT 2006


Jan Woetzel wrote:
>
> In particular when nothing has changed the "nothing to do" build now 
> takes >> 60 seconds.
> With 2.06 it took < 5 seconds as expected to build when everything was 
> up to date.
>
> I am actually testing on Windows with Visual Studio .net 2003. 

I've noticed my custom .scm --> .c build rules are getting invoked 
multiple times.  The file-level dependency specifications don't seem to 
be enough.  I'm going to try making custom toplevel targets to collect 
up all the .c files, before any other projects start using them to 
generate .obj files.  I don't think the VS71 dependencies are all that 
sophisticated.  For instance when I clicked the INSTALL target, it built 
my whole project from scratch all over again, even though I had just 
built it.

Look at your logs and see if the same things are getting built multiple 
times.


Cheers,
Brandon Van Every



More information about the CMake mailing list