<br><br><div class="gmail_quote">On Thu, Jul 19, 2012 at 7:33 AM, Alan W. Irwin <span dir="ltr"><<a href="mailto:irwin@beluga.phys.uvic.ca" target="_blank">irwin@beluga.phys.uvic.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
There has been a lot of traffic here concerning the CMake Ninja<br>
backend for more than a year with some claims that that combination is<br>
now working pretty well on all platforms. Therefore, my curiosity has<br>
been aroused even though I am fairly satisfied with the CMake Make<br>
backend. So I would like to try out CMake with the Ninja backend for<br>
my favorite CMake-based software build (PLplot).<br>
<br>
I have some newbie questions about the Ninja backend.<br>
<br>
What versions of CMake and Ninja work well together on both the Linux<br>
and the Windows platforms? (My fundamental platform is Linux, but I<br>
also sometimes test CMake-based builds on the Wine variant of<br>
Windows.) Has Ninja been officially released so we can talk about an<br>
official version for it or are there just git snapshots available? If<br>
the latter, I am not that familiar with git so could somebody give me<br>
the appropriate git clone command to download the source, and also the<br>
git command to let me know exactly what source snapshot version I am<br>
working with?<br></blockquote><div><br></div><div>See <a href="http://www.cmake.org/Wiki/CMake/Git">http://www.cmake.org/Wiki/CMake/Git</a> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Are there any Ninja caveats? For example, does Ninja allow parallel<br>
builds? What are the Ninja strengths compared to Make? I understand<br>
that rebuilds with just a few (or no) files changed should be faster<br>
with Ninja, but how about builds from scratch?<br></blockquote><div><br></div><div>See <a href="http://martine.github.com/ninja/manual.html">http://martine.github.com/ninja/manual.html</a></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I know how to build CMake, but can somebody give concise build<br>
instructions for Ninja? For example, is there a CMake-based<br>
build system for Ninja itself that works with the Make backend<br>
for CMake?<br></blockquote><div><br></div><div>Follow the instruction in the HACKING file there git://<a href="http://github.com/martine/ninja.git">github.com/martine/ninja.git</a></div><div><br></div><div>There are also CMake based build-system in some of the fork of this project. Here is one of them: git://<a href="http://github.com/syntheticpp/ninja.git">github.com/syntheticpp/ninja.git</a></div>
<div><br></div><div>Cheers,</div><div><br></div></div>-- <br>Nicolas Desprès<br><br>