This held me confused for 15 minutes or so. I'm on windows with Mingw's bin directory as the first item on PATH.
`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 -- Óscar _______________________________________________ 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