[Cmake] nmake generator not working with cmake

William A. Hoffman billlist at nycap.rr.com
Tue Jul 6 14:11:12 EDT 2004


Please see this post:
http://public.kitware.com/pipermail/cmake/2004-March/004831.html

Are you sure cl, and nmake are working from the command line?
Also, what version of cmake are you using?

-Bill


At 02:04 PM 7/6/2004, Rajagopalan, Karthik wrote:
>Hi Cmake members,
>
>I downloaded Cmake for Windows to build VTK product.During the building
>process, I  face problems when trying to use "nmake" generator with
>cmake interactive mode under cygwin shell. Here is the error i am
>getting :
>
>
>The C compiler "cl" is not able to compile a simple test program.
>It fails with the following output:
>
>Microsoft (R) Program Maintenance Utility Version 7.00.9466
>Copyright (C) Microsoft Corporation.  All rights reserved.
>
>NMAKE : fatal error U1065: invalid option 'M'
>Stop.
>
>CMake will not be able to correctly generate this project.
>
>
>
>After this, I get various options to configure and cmake finally
>processes "CMakeLists.txt" files without generating any valid Makefile
>as a final output. Should it not produce a "Makefile" under this process
>to run using nmake???
>
>Can anyone enlighten the problem happening here? To add to the above
>issue, I use .NET c compiler.
>
>
>Regards,
>Karthik.
>_______________________________________________
>Cmake mailing list
>Cmake at www.cmake.org
>http://www.cmake.org/mailman/listinfo/cmake 



More information about the Cmake mailing list