[CMake] NMake target with 2.4.2

William A. Hoffman billlist at nycap.rr.com
Wed Jun 7 18:20:11 EDT 2006


Do you have the environment variable CC set to gcc.exe?
If so, that would be why cmake is trying to use that compiler.
(CXX for c++)   The default is to look for cl when using nmake.

-Bill


At 06:08 PM 6/7/2006, James Mansion wrote:
>I fired up cmakesetup to create nmake files and it whinged that it can't
>find gcc.exe.
>
>Which is fair enough because my msys shell prompts have that but my VStudio
>ones don't.
>
>Surely if someone has nmake then they have a Microfoft compiler, and if they
>have gcc then they are more likely to use the msys or cygwin target or have
>their own win32 port of gnumake.
>
>Is it intentional to look for non-ms tools with an ms-specific make?
>
>
>
>_______________________________________________
>CMake mailing list
>CMake at cmake.org
>http://www.cmake.org/mailman/listinfo/cmake



More information about the CMake mailing list