<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">it works on my macbook:<div><br><div><div>"/usr/local/CMake 2.8-8.app/Contents/bin/cmake" --version</div><div>cmake version 2.8.8.20120520-g4742e</div><div><br></div><div><div>claus-kleins-macbook-pro:CompileCommandOutput clausklein$ "/usr/local/CMake 2.8-8.app/Contents/bin/cmake" -G Ninja -DMAKE_SUPPORTS_SPACES=1 </div><div>-- The CXX compiler identification is GNU 4.7.0</div><div>-- Checking whether CXX compiler has -isysroot</div><div>-- Checking whether CXX compiler has -isysroot - yes</div><div>-- Checking whether CXX compiler supports OSX deployment target flag</div><div>-- Checking whether CXX compiler supports OSX deployment target flag - yes</div><div>-- Check for working CXX compiler using: Ninja</div><div>-- Check for working CXX compiler using: Ninja -- works</div><div>-- Detecting CXX compiler ABI info</div><div>-- Detecting CXX compiler ABI info - done</div><div>-- Configuring done</div><div>-- Generating done</div><div>-- Build files have been written to: /Users/clausklein/Downloads/cmake/Tests/CompileCommandOutput</div><div><br></div><div>claus-kleins-macbook-pro:CompileCommandOutput clausklein$ ninja -d explain</div><div>ninja explain: output CMakeFiles/test1.dir/file_with_spaces.cxx.o doesn't exist</div><div>ninja explain: CMakeFiles/test1.dir/file_with_spaces.cxx.o is dirty</div><div>ninja explain: output CMakeFiles/test2.dir/relative.cxx.o doesn't exist</div><div>ninja explain: CMakeFiles/test2.dir/relative.cxx.o is dirty</div><div>ninja explain: output CMakeFiles/CompileCommandOutput.dir/compile_command_output.cxx.o doesn't exist</div><div>ninja explain: CMakeFiles/CompileCommandOutput.dir/compile_command_output.cxx.o is dirty</div><div>ninja explain: libtest1.a is dirty</div><div>ninja explain: libtest2.dylib is dirty</div><div>ninja explain: CompileCommandOutput is dirty</div><div>ninja explain: libtest1.a is dirty</div><div>ninja explain: libtest2.dylib is dirty</div><div>[6/6] Linking CXX executable CompileCommandOutput</div><div>claus-kleins-macbook-pro:CompileCommandOutput clausklein$ </div></div><div><br></div><div><div>claus-kleins-macbook-pro:CompileCommandOutput clausklein$ touch file\ with\ spaces.cxx </div><div>claus-kleins-macbook-pro:CompileCommandOutput clausklein$ ninja -d explain</div><div>ninja explain: output CMakeFiles/test1.dir/file_with_spaces.cxx.o older than most recent input file with spaces.cxx (13377238240000000 vs 13377239270000000)</div><div>ninja explain: CMakeFiles/test1.dir/file_with_spaces.cxx.o is dirty</div><div>ninja explain: libtest1.a is dirty</div><div>ninja explain: CompileCommandOutput is dirty</div><div>ninja explain: libtest1.a is dirty</div><div>[3/3] Linking CXX executable CompileCommandOutput</div><div>claus-kleins-macbook-pro:CompileCommandOutput clausklein$ </div><div><br></div><div><br></div><div><div>On 22.05.2012, at 13:35, Richard Wackerbarth wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">One of the differences that shows up in the dashboard is that there is a compile test which passes with normal Unix file paths, but fails when there is a space in one of the directory names. Perhaps we need to add an explicit test for everyone, ninja or otherwise, to test that compiles work with spaces in the path. I have a feeling that we may find additional failures.<div><br></div><div><div><div>On May 22, 2012, at 6:02 AM, David Cole wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Please take a look at the CMake dashboard:<div><br></div><div> <a href="http://open.cdash.org/index.php?project=CMake">http://open.cdash.org/index.php?project=CMake</a><br><br></div><div>I will allow the ninja generator to be enabled by default after interested parties fix all the failing tests in the "Nightly Expected" section related to the ninja generator submissions.</div> <div><br></div><div>Honestly, I was opposed to the ninja generator being merged to 'master' and enabled at all because of the failing tests on our dashboard. Luckily for all you ninja fans out there, I do not have dictator powers. ;-)</div> <div><br></div><div><br></div><div>David</div></blockquote></div><br></div></div>--<br><br>Powered by <a href="http://www.kitware.com">www.kitware.com</a><br><br>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br><br>Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ">http://www.cmake.org/Wiki/CMake_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake</a></blockquote></div><br></div></div></div></body></html>