Re: [cmake-developers] Bug in CMake: Generated Ninja files do not work on Windows

2016-06-08 Thread Michael Jäntsch
Hi, the code looks right to me. Thanks a lot for fixing that so quickly. Brad is also right about the first byte. The command has the argument already attached. Michael On 06/08/2016 06:46 PM, Brad King wrote: > On 06/08/2016 12:43 PM, Rolf Eike Beer wrote: >>> Run ranlib on archives only if

Re: [cmake-developers] Bug in CMake: Generated Ninja files do not work on Windows

2016-06-08 Thread Michael Jäntsch
Ah ok. That is interesting. If I set the CMAKE_RANLIB (after my Project command) it gets executed correctly. Interesting is that this is not needed for mingw makefiles. I also do not know how to set the RANLIB properly in my toolchain file.   Either way, the : is obviously the default for noop

[cmake-developers] Bug in CMake 3.6.0-rc1: Generated Ninja files do not work on Windows

2016-06-06 Thread Michael Jäntsch
Hi all,   I would like to report a bug which I found in CMake 3.6.0-rc1. However, it is also present in release 3.5.2 and probably earlier releases as well.   Description: The generated rule in rules.ninja for linking static libraries contains the command for actual linking and an additional