[CMake] Problem with NMake generator after upgrade from 2.4.6 to 2.6.3

Dieter Oberkofler doberkofler.lists at gmail.com
Sat Apr 25 10:11:59 EDT 2009


Thank you for your quick feedback!

1) Why does this warning appear in the first place and can it be disabled? 
2) Is there a simple change log explaining what new features might be
available in each release?

-Dieter

> -----Original Message-----
> From: Bill Hoffman [mailto:bill.hoffman at kitware.com] 
> Sent: Saturday, April 25, 2009 3:22 PM
> To: doberkofler.lists at gmail.com
> Cc: CMake at cmake.org
> Subject: Re: [CMake] Problem with NMake generator after 
> upgrade from 2.4.6 to 2.6.3
> 
> Dieter Oberkofler wrote:
> > After having upgraded CMake from 2.4.6 to 2.6.3 I received the 
> > following warning
> > 
> > ==========
> > ...
> > -- The C compiler identification is MSVC
> > -- The CXX compiler identification is MSVC CMake Warning at 
> C:/Program 
> > Files/CMake
> > 2.6/share/cmake-2.6/Modules/Platform/Windows-cl.cmake:32 
> (ENABLE_LANGUAGE):
> >   To use the NMake generator, cmake must be run from a 
> shell that can 
> > use the
> >   compiler cl from the command line.  This environment does 
> not contain
> >   INCLUDE, LIB, or LIBPATH, and these must be set for the 
> cl compiler to
> >   work.
> > Call Stack (most recent call first):
> >   C:/Program Files/CMake
> > 2.6/share/cmake-2.6/Modules/CMakeCInformation.cmake:39 (INCLUDE) ...
> > ==========
> > 
> > and CMake aborts.
> 
> Cmake should not abort, that is just a warning.  It is fixed in the
> 2.6.4 RC 4, found here:
> http://www.cmake.org/files/v2.6/?C=M;O=D
> 
> -Bill
> 
> >  
> > The CMakeList.txt files and the environment did not change 
> at all and 
> > the compiler (cl.exe) can be executed from the same command 
> line I'm 
> > executing cmake from.
> >  
> > Any help would be appreciated.
> >  
> > -Dieter
> > 
> > _______________________________________________
> > Powered by www.kitware.com
> > 
> > Visit other Kitware open-source projects at 
> > http://www.kitware.com/opensource/opensource.html
> > 
> > Please keep messages on-topic and check the CMake FAQ at: 
> > http://www.cmake.org/Wiki/CMake_FAQ
> > 
> > Follow this link to subscribe/unsubscribe:
> > http://www.cmake.org/mailman/listinfo/cmake
> > 
> 



More information about the CMake mailing list