[cmake-developers] Ninja rebuild_cache fails with spaces in the path (windows and linux)
Peter Collingbourne
peter at pcc.me.uk
Sat Mar 17 20:06:32 EDT 2012
On Wed, Mar 14, 2012 at 11:03:09AM -0400, Bill Hoffman wrote:
> $ 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.
Fixed as of 60bec54ef644e5c85578ec4a9b24dd2b2cb11e2b.
Thanks,
--
Peter
More information about the cmake-developers
mailing list