On Sun, Aug 16, 2009 at 09:27:50PM +0200, Óscar Fuentes wrote: > `cl' is *not* on the PATH. If I invoke it from the same command line the > shell says that there is no such executable. > > Please note the -g parameter instead of -G: > > D:\dev\idb-llvm\lp0\build\mingw\debug>cmake -g "MinGW Makefiles" > -DLLVM_ROOT=d:/dev/llvm/svnDebugMinGW44 -DCMAKE_BUILD_TYPE=Debug ../../.. > -- Check for working C compiler: cl > -- Check for working C compiler: cl -- works > -- Detecting C compiler ABI info > -- Detecting C compiler ABI info - done > -- Check for working CXX compiler: cl > -- Check for working CXX compiler: cl -- works > -- Detecting CXX compiler ABI info > -- Detecting CXX compiler ABI info - done > -- /INCREMENTAL:NO > -- Configuring done > -- Generating done > -- Build files have been written to: > D:/dev/idb-llvm/lp0/build/mingw/debug
One of the platform files probably knows how to guess where cl.exe is. You can inspect the Windows platform .cmake file to figure out exactly how. tyler _______________________________________________ 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