[cmake-developers] Questions concerning using "MinGW Makefiles" when MSYS (without sh.exe) is on the PATH

Brad King brad.king at kitware.com
Thu Jun 6 09:48:00 EDT 2013


On 06/05/2013 05:11 PM, Alan W. Irwin wrote:
> Is that demand from the "MinGW Makefiles" generator that sh.exe not
> be on the PATH necessary any more?  The reason I ask this is the
> strings command does indicate that mingw32-make.exe contains a
> reference to sh.exe, but all the Makefiles generated by "MinGW
> Makefiles" specify
> 
> SHELL = cmd.exe
> 
> so it seems unlikely that mingw32-make.exe would get confused by those
> Makefiles if sh.exe were on the PATH.

It looks like Bill added that check here:

 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=14cbc957

Bill, the commit message doesn't say why.  Do you remember?

The SHELL=cmd was present at the time the commit was made.

-Brad



More information about the cmake-developers mailing list