<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Peter,<div><br></div><div>Today I have tried to work with ninja on MSYS.</div><div><br></div><div>I have a view questions:</div><div><br></div><div>1. Is cmake build on MSYS or build on windows when you test with it the ninja generator?</div><div><span class="Apple-tab-span" style="white-space:pre">    </span>I tried the windows version, but it fails, ....</div><div><br></div><div>2. MSYS has a bash sh program, why is cmd /c used at a unix like environment?</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>It is not fast to start a a shell the old stupid dos cmd shell again and to have the cmdline length problems again!</div><div><br></div><div>3. The gcc, ar, and other binutils  I found are quite actual and the @response file options are known </div><div><span class="Apple-tab-span" style="white-space:pre">  </span>But it is a bash, not command, so only posix path separator must be used, '\' and spaces must be quoted!</div><div><br></div><div>IMO cmake, at least the ninja generator should respect this, than it works.</div><div><br></div><div><br></div><div>An other question about dependancy generation on Windows and MSYS:</div><div><br></div><div>I found the Makefile Generator creates dep files on MSYS, but the gcc can do it by the way? He, wait?</div><div>It is it an open  issue for the Nina generator to not create depend files on Windows with cl when cmake know to do it?</div><div><br></div><div>//Regards</div><div>Claus</div><div><br></div><div><br></div><div>That was the result of my test, but the cmake sources are not right sync with yours!</div><div><br></div><div><font size="2" face="sans-serif">CMake Error at c:/Programme/CMake2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):</font> <br><font size="2" face="sans-serif">  The C compiler "C:/Wascana/mingw/bin/gcc.exe" is not able to compile a</font> <br><font size="2" face="sans-serif">  simple test program.</font> <br><br><font size="2" face="sans-serif">  It fails with the following output:</font> <br><br><font size="2" face="sans-serif">   Change Dir: C:/downloads/ftplibpp-2.0.2-ck/build/CMakeFiles/CMakeTmp</font> <br><font class="Apple-style-span" face="sans-serif" size="2"><br></font><br><font size="2" face="sans-serif">  Run Build Command:C:/Wascana/msys/bin/ninja.exe cmTryCompileExec2945905931</font> <br><br><font size="2" face="sans-serif">  [1/2] Building C object</font> <br><font size="2" face="sans-serif">  CMakeFiles\cmTryCompileExec2945905931.dir\testCCompiler.c.obj</font> <br><br><br><font size="2" face="sans-serif">  [2/2] Linking C executable cmTryCompileExec2945905931.exe</font> <br><br><br><font size="2" face="sans-serif">  FAILED: cmd.exe /c cd.  && c:\Programme\CMake2.8\bin\cmake.exe -E remove -f</font> <br><font size="2" face="sans-serif">  CMakeFiles\cmTryCompileExec2945905931.dir/objects.a &&</font> <br><font size="2" face="sans-serif">  C:\Wascana\mingw\bin\ar.exe cr</font> <br><font size="2" face="sans-serif">  CMakeFiles\cmTryCompileExec2945905931.dir/objects.a</font> <br><font size="2" face="sans-serif">  @cmTryCompileExec2945905931.exe.rsp && C:\Wascana\mingw\bin\gcc.exe</font> <br><font size="2" face="sans-serif">  -Wl,--whole-archive CMakeFiles\cmTryCompileExec2945905931.dir/objects.a</font> <br><font size="2" face="sans-serif">  -Wl,--no-whole-archive -o cmTryCompileExec2945905931.exe</font> <br><font size="2" face="sans-serif">  -Wl,--out-implib,libcmTryCompileExec2945905931.dll.a</font> <br><font size="2" face="sans-serif">  -Wl,--major-image-version,0,--minor-image-version,0 -lkernel32 -luser32</font> <br><font size="2" face="sans-serif">  -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32</font> <br><font size="2" face="sans-serif">  -ladvapi32 && cd.</font> <br><br><font size="2" face="sans-serif">  C:\Wascana\mingw\bin\ar.exe:</font> <br><font size="2" face="sans-serif">  CMakeFilescmTryCompileExec2945905931.dirtestCCompiler.c.obj: No such file</font> <br><font size="2" face="sans-serif">  or directory</font> <br><br><font size="2" face="sans-serif">  ninja: build stopped: subcommand failed.</font> <br><font class="Apple-style-span" face="sans-serif" size="2"><br></font><br><font size="2" face="sans-serif">  CMake will not be able to correctly generate this project.</font> <br><font size="2" face="sans-serif">Call Stack (most recent call first):</font> <br><font size="2" face="sans-serif">  </font><br><div><div>On 06.06.2012, at 18:08, Peter Kümmel wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>On 06.06.2012 16:27, Bill Hoffman wrote:<br><blockquote type="cite"><br></blockquote><blockquote type="cite">I will change the dashboard to use ninja<br></blockquote><blockquote type="cite">master.  Right now it is still using your branch on git and is failing a<br></blockquote><blockquote type="cite">bunch of tests.<br></blockquote><br>Now cmake prepends "cmd.exe /c"  and the branched ninja also, so we have<br>"cmd.exe /c cmd.exe /c cd" which makes no sense.<br><br>Peter<br>--<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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers">http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers</a><br></div></blockquote></div><br></div></body></html>