[cmake-developers] Ninja help

Nicolas Desprès nicolas.despres at gmail.com
Wed Feb 15 12:29:26 EST 2012


2012/2/15 Bill Hoffman <bill.hoffman at kitware.com>

> On 2/15/2012 11:20 AM, Nicolas Desprès wrote:
>
>>
>> For compiling and testing you can find all the information in the
>> HACKING file.
>>
>
> Well, this is ugly:
>
> ------HACKING--------
> Windows development on Windows:
> - install mingw, msys, and python
> - in the mingw shell, put Python in your path, and: python bootstrap.py
> - to reconfigure, run 'python configure.py'
> - remember to strip the resulting executable if size matters to you
> - you'll need to rename ninja.exe into my-ninja.exe during development,
>  otherwise ninja won't be able to overwrite itself when building
> ------HACKING--------
>
> It would be really nice if ninja had a CMake build system with it for
> windows development.  It basically looks like a bunch of c++ files. Having
> to have python to build ninja is a pain for setting up a visual studio
> ninja dashboard.


I was arguing in favor of this approach on the mailing list but some people
came up with patches for the Python bootstrap script quickly and they have
been applied. Ninja likes to be standalone as much as possible even if it
requires Python and for development the Google Test and re2c. Also I think,
since the Ninja generator was not available in CMake it was kind of a
chicken and egg problem. Several forks on github already provides a
CMakeLists.txt for Ninja. I think if some people are willing to maintain
them (this include myself but my spare time is not that "responsive"
unfortunately :-( ) and if the merge of the ninja generator in cmake is
coming, Evan will accept a parallel build-system without any objections.

-- 
Nicolas Desprès
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20120215/d15b1ae3/attachment.html>


More information about the cmake-developers mailing list