[cmake-developers] Ninja rebuild_cache fails with spaces in the path (windows and linux)
Bill Hoffman
bill.hoffman at kitware.com
Wed Mar 14 11:03:09 EDT 2012
$ ninja rebuild_cache
[1/1] Running CMake to regenerate build system...
FAILED: cmd.exe /c cd "C:\Users\hoffman\Work\My Builds\cmake-ninja" &&
"C:\Users\hoffman\Work\My Builds\cmake-gmake\bin\cmake.exe"
-HC:/Users/hoffman/Work/My Builds/cmake -BC:/Users/hoffman/Work/My
Builds/cmake-ninja
CMake Error: The source directory "C:/Users/hoffman/Work/My
Builds/cmake-ninja/Builds/cmake-ninja" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
ninja: build stopped: subcommand failed.
This also fails on linux.
-Bill
More information about the cmake-developers
mailing list