[CMake] Pparallel build on multiple directories?

Bill Hoffman bill.hoffman at kitware.com
Mon Jan 12 14:23:59 EST 2009


Alexandre Feblot wrote:
> So, I downloaded and recompiled the latest gmake (3.81).
> 
> I works much better indeed.
> 
> I should have remembered: never work with obsolete tools...
> 
> 
> By the way, what about parallel builds with nmake makefiles ?
> 
>  

I use cl with gmake.

You have to use a patched gmake.   Cygwin removed support for c: in 
paths.  Next version of gmake will put the support back.

You can find a patched make here:

http://www.cmake.org/files/cygwin/make.exe

So, install cygwin, then put that make.exe in the bin dir, then use the 
"Unix Makefiles" generator of cmake, from a shell that has the correct 
environment for running cl.

-Bill




More information about the CMake mailing list