Arjen Markus schrieb am Donnerstag 16 April 2009 um 12:07:
> On 2009-04-16 10:43, Maik Beckmann wrote:
> > MSYS has its own generator, so this should be
> >   cmake -G "MSYS Makefiles"
>
> Hm, could that be the problem? I noticed that CMake is indeed reacting
> differently if -G is set differently:
>
> - No -G option: CMake recognised the MS Visual C/C++ compiler as
>    the C compiler on my system, and both MSYS and MINGW were unset.
>    (This answers Werner's suggestion)

The default on Windows is to generate for Visual Studio. 

> - -G "Unix Makefiles" caused it to recognise the MSYS/MinGW installation
>    of gcc and set MINGW to 1.

cygwin -> -G"Unix Makefiles" 
msys -> -G"MSYS Makefiles"
mingw (i.e. via cmd.exe shell) -> -G"MinGW Makefiles"

-- Maik
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to