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

From: Michael Forney <mforney_AT_mforney.org>
Date: Tue, 25 Jul 2017 23:57:23 -0700

On 7/25/17, Silvan Jegen <s.jegen_AT_gmail.com> wrote:
> Hi
>
> On Wed, Jul 26, 2017 at 7:32 AM, Michael Forney <mforney_AT_mforney.org>
> 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.
>>
>> https://github.com/michaelforney/samurai
>>
>> 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.
>
> https://ninja-build.org/manual.html#ref_headers
>
> I assume it's this functionality that is still missing, correct?

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
> hood.
>
> 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
> code?

No, not at all. Definitely use a Makefile for that case.
Received on Wed Jul 26 2017 - 08:57:23 CEST

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