[cmake-developers] ninja broken on windows?

Peter Kümmel syntheticpp at gmx.net
Fri Feb 17 17:54:00 EST 2012


On 16.02.2012 22:46, Peter Kümmel wrote:
> On 16.02.2012 21:38, Bill Hoffman wrote:
>> On 2/16/2012 2:57 PM, Peter Kümmel wrote:
>>
>>> They are not interested.
>>> There is another patch in the pipeline but with
>>> this the current generator doesn't work.
>>>
>>> Use the official ninja and drop Win atm.
>>>
>> Bummer.  I am most interested in windows.  Would love to stop using
>
> OK, I could update my branch with the official one, disable all
> Windows specific patches on Linux. This way, testing on Linux is like
> testing against the official ninja, and an Windows we have intermediate
> version until ninja supports win32.

I've created on stage the new branch 'ninja-generator-win'.
It differs from 'ninja-generator' only by one small commit:
http://cmake.org/gitweb?p=stage/cmake.git;a=commitdiff;h=3bda549dd1dc4a739e7a7f1b23ce98b59986940f
(when someone cherry-pick this commit, please also delete this branch)

The CMake binary of this branch generates ninja files which build CMake with a patched
ninja version: https://github.com/syntheticpp/ninja/tree/cninja
With the official ninja it is not possible to build CMake on Windows.

At least on Windows I would use this ninja branch until ninja ships Windows support out-of-the-box.

The final ninja would only require to change the build rule generation for response file support.
Other fixes to the generator will not be lost when we switch back to the official ninja code.

Peter


>
> But I don't wanna touch the generator atm because I don't like the actual
> proposal for response file support.
>
>
>> gmake...  Seems like they are doing lots of stuff with .d files for
>> windows.  So, they seem interested in supporting the platform.  Is there
>> something we can change in the cmake generator to make it work with the
>> way ninja is today, and will be for the foreseeable future?
>>
>>
>> -Bill
>>
>>
>> --
>>
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
>>
> --
>
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
>



More information about the cmake-developers mailing list