SCons support for D

Jacob Carlborg doob at me.com
Wed Dec 7 23:54:24 PST 2011


On 2011-12-07 20:56, Jens Mueller wrote:
> I'm unsure whether D needs its own configuration/build tool. It
> definitely needs a package manager.
>
> For building there are different options but usually it's make. Most
> people (at least for sure on Unix variants) are using it. I think Scons
> does both building and configuring. Just want to say that you can have
> different tools for these jobs or single one.
> Jacob's build tool looks good but I wonder what are the major
> improvements over e.g. make (portability is an issue with make; maybe
> simplicity).

Makefiles are a horrible thing of this world.

> For configuring there are some options and so far none of them is
> preferred by a majority. Different people weigh different aspects
> differently. But it seems people are moving away from configure scripts.
>
> As Russell already said, several build/configuration tools are used and
> there is no clear winner in general. So I think it's very nice that you
> have added support for D to premake. So we then have SCons (build and
> configuration), CMake (configuration and several build tools via
> generators), rdmd (can generate dependencies for Makefile), Jacob as a
> build tool and there are several others specifically for D and premake.
>
> I'm not sure about the state of each of these. But SCons and CMake work
> with dmd (both do configuration). premake is also configuration.
> Regarding build tools I wonder how important they are. make works fairly
> well.
>
> Jens

I want a simple portable build tool. DSSS was/is a good tool, but it's 
not maintained anymore. It had some problems but I like it in general.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list