When using Visual Studio 10 as the generator from the CMake GUI, it
complains that it can't find 'cl' ("To use the NMake generator, cmake must
be run from a shell that can use the compiler cl from the command line.")
It works if I use:

cmake -G "NMake Makefiles"

from the VS command line, so I'm assuming it is just an environment
problem.

Why doesn't CMake setup the environment automatically when you choose the
generator? Are there any instructions on how to setup the environment for
this? It seems like a super standard thing to do, no?

Thanks,

David
--

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

Reply via email to