[cmake-developers] [PATCH] CMakeDetermineSystem.cmake distinguishes-MSYS-MINGW32 (was Re: Distinguishing MSYS2

Brad King brad.king at kitware.com
Tue Aug 11 09:18:04 EDT 2015


On 08/10/2015 04:07 PM, Greg Jung wrote:
> There is an msys2-specific cmake version already built along those lines,
> with several patches in the modules section to parallel the CYGWIN cases,
> in the msys2 distribution.  It does not have a "MSYS Makefiles" generator
> option but uses "Unix generator"  as you anticipate.

In order to get CMAKE_HOST_UNIX set properly for CMakeDetermineSystem
shouldn't we upstream your changes for a msys2-specific CMake?  I presume
it does a "#if defined(__MSYS__)" somewhere near where we already do
"#if defined(__CYGWIN__)".

Thanks,
-Brad



More information about the cmake-developers mailing list