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

Jan Woetzel jw at woetzelweb.de
Mon Jun 5 12:46:11 EDT 2006


Hi,
I just switched from 2.06 to 2.4.2
and noticed that compilation time increased considerably - which is 
annoying.

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.

The problem seems to be:
Although nothing has changed
cmake configures, generates and writes toplevel build files
for every library target on each build.
I expected it only on teh first cmake run or if any of the files (e.g. 
CmakeListst.txt) changed.
This consumes a lot of time.

I am actually testing on Windows with Visual Studio .net 2003.
(Linux will follows in the next days...)

(1) Any ideas what may be going wrong?


Jan.

-- 

  Dipl.-Ing. Jan Woetzel
--------------------------------------------------
  Uni Kiel
  Institut f. Informatik und Praktische Mathematik
  Hermann-Rodewaldstr. 3  [Raum 310]
  24098 Kiel/Germany
--------------------------------------------------
  Tel    +49-431-880-4477
  Fax    +49-431-880-4054
  Privat +49-431-802872
  Mob.   +49-179-2937346
--------------------------------------------------
  Url    www.mip.informatik.uni-kiel.de/~jw
  Email  jw at mip.informatik.uni-kiel.de
  Privat jw at WoetzelWeb.de



More information about the CMake mailing list