[Cmake] nmake generator not working with cmake

Rajagopalan, Karthik rajagopk at deshaw.com
Tue Jul 6 14:04:42 EDT 2004


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.


More information about the Cmake mailing list