[CMake] using cmake on windows - query on existing targets

Bill Hoffman bill.hoffman at kitware.com
Thu Jan 14 11:18:46 EST 2010


Chauhan, Vikas wrote:
> 
>> -----Original Message-----
>> From: Bill Hoffman [mailto:bill.hoffman at kitware.com]
>> Sent: 14 January 2010 13:57
>> To: Chauhan, Vikas
>> Cc: Bill Hoffman; cmake at cmake.org
>> Subject: Re: [CMake] using cmake on windows - query on existing
> targets
>> Chauhan, Vikas wrote:
>> -------------------------------------
>>> -------------------------------
>>> C:\Work\PCT_LTE\Hercules\CID\MapperGenerator\build_nmake>cmake ../
> -G
>>> "NMake Mak
>>> efiles"
>>> CMake Error: CMake was unable to find a build program corresponding
> to
>>> "NMake Ma
>>> kefiles".  CMAKE_MAKE_PROGRAM is not set.  You probably need to
> select a
>>> differe
>>> nt build tool.
>>
>> Do you have nmake in your PATH?
>>
>> -Bill
>>
> 
> Yes, it is present. Following the version of nmake:
> Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
> Copyright (C) Microsoft Corporation.  All rights reserved.
> 

Can you try this:

cmake ../ -G"NMake Makefiles" --trace

What is the output?

For some reason cmake is unable to find nmake in  your PATH.  Perhaps 
your PATH variable has something funny in it.  What is the contents of 
the PATH variable in that shell?

-Bill


More information about the CMake mailing list