www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - SCons and D

I realize that Dub is now the "one true build system" for D code, and
indeed I will be using it for a couple of hobby projects. However we
need to give people a way of moving from their current code bases to
incorporating D: we need to give C, C++ and Fortran projects an easy
transition to incorporating some D and then increasing their percentage
of D as they see how much better it is than C, C++, Fortran. This means
support for D in SCons and CMake =E2=80=93 people using Make are on their
own ;-)

I am not really a CMake user (apart from compiling LDC), but I
understand there is some support for integrating D into builds. Effort
on this needs to be made very public and given lots of airplay. Ditto
for SCons D support of course.

With SCons I have reworked what was in SCons to something more useful,
and that is now in the distribution. However, it is in need of a lot
more work. In particular:

a. It needs someone who is a Windows user to be involved in sorting out
the Windows side of things.

b. It would be good if there was an everyday OSX user involved, whilst I
have OSX I do not use it except occasionally.

I am happy doing all the Python coding and pull requests etc, but I
clearly need WIndows and OSX (and Linux, OpenBSD, FreeBSD, Solaris,=E2=80=
=A6)
people using my SCons branch to work with the D tooling to tell me what
breaks and how to fix it.

The problem of the moment is ensuring SCons D tools (there are three,
dmd, gdc, ldc) are ready for all the dynamic linking stuff that is
easing its way into D. Getting this right strikes me as a Good Thing=E2=84=
=A2
for increased use of D: the main aim here is to ensure people with mixed
language projects do not get hassles from the D side of things!
--=20
Russel.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder ekiga.n=
et
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
Sep 07 2014