Andreas Pakulat wrote:
Hi,

in kdevelop4 we're running cmake to prepare a builddirectory from a source
dir. This worked just fine on linux, however we're running into a problem
when executing on Windows for the NMake-Generator.

It seems this generator absolutely needs a shell (i.e. cmd.exe) as its
environment and its not enough to simply start kdevelop from the C++
development console.
Does cmake.exe have an explicit check for a real cmd.exe shell on windows?
(I don't have access to cmake sources right now)

Andreas

CMake requires that the environment be setup for use with the command line cl. This is usually done by running vcvars32 or some other .bat file that sets up the environment. By default the cl compiler will not just work unless the env is setup for it.

-Bill
_______________________________________________
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