Re: [dev] [ANN] samurai: ninja-compatible build tool

From: Silvan Jegen <>
Date: Wed, 26 Jul 2017 08:48:47 +0200


On Wed, Jul 26, 2017 at 7:32 AM, Michael Forney <> wrote:
> Over the past couple weeks, I implemented a ninja-compatible build
> tool in C. It is much simpler and smaller than ninja and seems to
> perform at least as well.
> It has all the features I care about, apart from gcc -MD header
> dependency parsing which is planned. I replaced ninja with samurai in
> oasis to remove the C++ dependency.

I assume it's this functionality that is still missing, correct?

> Even if you don't care for ninja, it does seem to be gaining
> popularity, and I've noticed several projects start switching from
> autotools to meson (which outputs ninja), so I thought it would be
> good to have a small C implementation. It was also a fun project.

I have seen that some of the Wayland projects I care about are working
on switching to meson but I did not know that it uses ninja under the

Since you seem to have plenty of experience with ninja, do you think
it has any advantages over using a Makefile containing 20-50 lines of

If I start looking into using ninja for some project I will have a
look at samurai for sure!


Received on Wed Jul 26 2017 - 08:48:47 CEST

This archive was generated by hypermail 2.3.0 : Wed Jul 26 2017 - 09:00:55 CEST