[Cmake] Autological Makefiles (+ VTK new build is *slow*)

Sebastien BARRE sebastien at barre.nom.fr
Mon Jun 4 14:20:14 EDT 2001


Hi Bill,

At 04/06/2001 13:40, Bill Hoffman wrote:
>There is a problem with the msdev stuff that we have seen.
>After a while the .ncb and .opt files get inefficient and take
>longer and longer to load.  Have you tried removing them?

Let's face it, whether there are .ncp and opt files or not, whether there 
are fresh or not, msdev won't care :) if it's run on the command line, it 
always take around 70 seconds (compared to 18 s. in the old tree using 
nmake files). For a single source file.

Let's try with 4 modified .cxx files (I'm rarely working on more than 4 
classes at the same time) :
         4 files in the new tree : 75 s.
         same 4 files in the old tree : 29 s.

=> msdev compiles faster, probably because it sends a dozen source files at 
the same time to CL.exe (compared to nmake), but the overhead is *really* 
big, i.e. it will *always* spend around 60 s. before really compiling the 
files. 1 minute for each compilation.

If I run the GUI without the cache files (.ncb, .opt) :
         the first build : 1 source file : 120 s. !! (almost two times 
slower than on the command line, but the .ncp and opt are created)
         the 2nd build : 1 source file : 18 s. (i.e. once it has computed 
the dependencies, it seems to spend only time on compilation/linking)

But I don't want to use the GUI, I'm working inside Emacs. A bit 
problematic at the moment.
Well, I guess you see what I mean : we need a target to build nmakefiles 
too :))





More information about the CMake mailing list