[CMake] MinGW Makefiles generator and -j
Bill Hoffman
bill.hoffman at kitware.com
Sun Apr 27 22:42:44 EDT 2008
Daniel wrote:
>
> Thanks, -j is working with this version of make and the compile time is
> down from 7m45s to 4m30s. I am a little confused about why mingw-make
> didn't work since in my test program it worked even if I did everything
> from cmd.exe. Comparing the MinGW and Unix Makefiles there seems to be
> nothing different except paths so it does seem that make was deciding to
> disable -j for some reason.
>
It has to do with having an sh in your PATH or not. gmake behaves
differently based on the shell it is using to run programs.
> At any rate, it works this way. Do you happen to have a patch that I
> can grab for the modification to make?
If you grab CVS make and build for cygwin it will have my patch. The
cygwin folks dropped support for windows drive letters in the make they
ship. When the next release of gmake comes out, then cygwin make will
have my fix in it.
-Bill
More information about the CMake
mailing list