On 8/12/2010 8:36 PM, J Decker wrote:
cmake -G "MinGW Makefiles" /test
The path "/test" is not a valid full path on windows. That syntax is used by many tools for command line options. If I use a backslash instead: cmake -G "MinGW Makefiles" \test I get CMake Error: The source directory "C:/build/test" does not exist. Specify --help for usage, or press the help button on the CMake GUI. IMO the only bug here is that CMake does not complain that the given path is malformed. Take a look at Source/cmake.cxx in the method "cmake::SetDirectoriesFromFile". The path should be the argument to this method. Somewhere in this function before it does a call to SetHomeDirectory should be taught to catch this. -Brad _______________________________________________ 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