<br><br><div class="gmail_quote">2012/2/15 Bill Hoffman <span dir="ltr">&lt;<a href="mailto:bill.hoffman@kitware.com">bill.hoffman@kitware.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">On 2/15/2012 11:20 AM, Nicolas Desprès wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
For compiling and testing you can find all the information in the<br>
HACKING file.<br>
</blockquote>
<br></div>
Well, this is ugly:<br>
<br>
------HACKING--------<br>
Windows development on Windows:<br>
- install mingw, msys, and python<br>
- in the mingw shell, put Python in your path, and: python bootstrap.py<br>
- to reconfigure, run &#39;python configure.py&#39;<br>
- remember to strip the resulting executable if size matters to you<br>
- you&#39;ll need to rename ninja.exe into my-ninja.exe during development,<br>
  otherwise ninja won&#39;t be able to overwrite itself when building<br>
------HACKING--------<br>
<br>
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.</blockquote>

<div><br></div><div>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 &quot;responsive&quot; unfortunately :-( ) and if the merge of the ninja generator in cmake is coming, Evan will accept a parallel build-system without any objections.</div>

<div><br></div></div>-- <br>Nicolas Desprès<br><br>