[CMake] Compilation speed with CMake/NMake combination, making it faster?

Josef Karthauser joe.karthauser at geomerics.com
Tue Dec 11 04:40:30 EST 2007


> -----Original Message-----
> From: Torsten Martinsen [mailto:tma at gatehouse.dk]
> Sent: 11 December 2007 09:08
> To: Josef Karthauser; CMake ML
> Subject: RE: [CMake] Compilation speed with CMake/NMake combination,
> making it faster?
> 
> > *         We're using an NMake build tree, is NMake particularly
> > slow?  Do any of the other makes work more efficiently?
> 
> Be aware that nmake builds are much slower than using devenv, as nmake
> starts a cl.exe process for every single file,
> whereas devenv calls cl.exe with several source files. This costs, due
> to the high process overhead on Windows.

I understand that.  I'm still interested in hearing from folks how might
have optimised this though.  Our builds feel much slower than I'd expect
from previous experience with make file driven builds.

Joe


More information about the CMake mailing list