Hi Randal,

you could use wgcc a cross-compiler tool

http://interix-wgcc.sourceforge.net/features.html

which should allow to use the msvc compiler in cygwin. But, I have no experience with the Cygwin/MSVC/wgcc combination though.

Regards,
Werner


On 06.03.2008, at 00:00, Randal Walser wrote:


Can anyone tell me how I can use cmake to generate GNU makefiles which
invoke the MSVC compiler?  The Cygwin version of cmake seems to insist
on gcc.  Likewise, when I specify "Unix Makefiles" to CMakeSetup, it
resets the compiler to gcc after I've set it to cl.  Perhaps I'm
overlooking something, but I don't see anything that specifically
addresses this in the online cmake documentation.

Thanks,

Randal

P.S. I'm not trying to generate Visual Studio projects; only GNU
makefiles.

_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake


_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to