gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: would it be time to replace scons with meson build system?


From: Gary E. Miller
Subject: Re: would it be time to replace scons with meson build system?
Date: Tue, 4 Feb 2020 17:30:55 -0800

Yo Greg!

On Tue, 04 Feb 2020 19:26:14 -0500
Greg Troxel <address@hidden> wrote:

> scons feels like it is diffficult to deal with, and that it is
> starting to be used by very few projects.

Part of that is that people take stabs at patching SConstruct, and
opposed to looking at it in the larger context.  IMHO, the gpsd
SConstruct is getting better.  Some more rough edges to flesh out.

> SConstruct has 2345 non-comment non-blank lines.   I think that makes
> it difficult to deal with.

SConstruct is a Python program.  Each and every one of those blank lines
is mandated by PEP 8, which is the gpsd standard for python program
formatting.  I'm a big fan of prgrams not all smashed together and
I like the PEP 8 format.  Nothing difficult, beyond the fact that the
problem itself it big.

Much of SConstruct is very similar to how a Makefile would be contructed.
Lot's of lists of targets, sources, dependencies and build recipes.  Plus
the stuff that used to be a nightmare from autotools.  

I find it nice that it is all in one file, as opposed to the multiple
passes that autoconfig requires.  Unlike autotools and makefiles, you
can use simple python print() to help debug things, and simple Python
to form conditionals that are a PITA in a Makefile.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        address@hidden  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can't measure it, you can't improve it." - Lord Kelvin

Attachment: pgpPWzwdOsrwN.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]