premake supports D? I was planning to add D support to premake myself, but that's wonderful news. I'll add support for VisualD if it is not already done.<div>GDC is also important. Great news! :)<br><br><div class="gmail_quote">
On 7 December 2011 21:56, Jens Mueller <span dir="ltr"><<a href="mailto:jens.k.mueller@gmx.de">jens.k.mueller@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="HOEnZb"><div class="h5">Andrew Gough wrote:<br>
> On Tue, 06 Dec 2011 18:14:25 +0000<br>
> Russel Winder <<a href="mailto:russel@russel.org.uk">russel@russel.org.uk</a>> wrote:<br>
><br>
> > SCons is a Python-based build tool to replace Make and much of the<br>
> > Autotools functionality.  It has D support as part of the core.  This<br>
> > support is though in need of development.<br>
> ><br>
> > The new Mercurial/BitBucket infrastructure for developing SCons<br>
> > (replacing the old Subversion/Tigris set up) is now in place, a new<br>
> > release 2.1.0 has been declared and everything is open for business<br>
> > leading to a 2.2.0 release.<br>
> ><br>
> > I got my changes to support DMD 2 into this release :-)<br>
> ><br>
> > However, support for GDC, LDC, etc. is almost certainly still sadly<br>
> > lacking, and indeed the support for DMD almost certainly needs a<br>
> > severe refactoring and most likely a rewrite.<br>
> ><br>
> > Rather than people having to work on a clone of SCons in order to work<br>
> > on the tool, I have created a separate Mercurial repository<br>
> > (<a href="https://bitbucket.org/russel/scons_dmd_new" target="_blank">https://bitbucket.org/russel/scons_dmd_new</a>) as a development version<br>
> > of just the tool.  When a new version of this separate tool is<br>
> > declared I create a pull request for the SCons mainline to get the<br>
> > new version in the next version of SCons.<br>
> ><br>
> > Is anyone else other than me interested in using SCons as a build tool<br>
> > with D code?  If there is, perhaps we can collaborate in some way to<br>
> > progress SCons support for all the various realizations of D?<br>
> ><br>
><br>
> I think the build tool question is in need of the same level of high<br>
> level design and support that Steve Teale is working on for<br>
> std.database/std.sql.<br>
><br>
> It seems there is SCons support (python), CMake, Orbit (Ruby), DSSS<br>
> (D1 only?), xfbuild, dake, rdmd options - I've added preliminary D<br>
> support to premake.<br>
<br>
</div></div>Where do I find your changes for premake?<br>
<div class="im"><br>
> Would it be a good idea to thrash out the arguments for/against a<br>
> particular tool, and build/support just one?  The community doesn't<br>
> seem big enough to be so fragmented.  Java has Ant, Scala has sbt  -<br>
> surely D should have a canonical build tool?<br>
<br>
</div>I'm unsure whether D needs its own configuration/build tool. It<br>
definitely needs a package manager.<br>
<br>
For building there are different options but usually it's make. Most<br>
people (at least for sure on Unix variants) are using it. I think Scons<br>
does both building and configuring. Just want to say that you can have<br>
different tools for these jobs or single one.<br>
Jacob's build tool looks good but I wonder what are the major<br>
improvements over e.g. make (portability is an issue with make; maybe<br>
simplicity).<br>
<br>
For configuring there are some options and so far none of them is<br>
preferred by a majority. Different people weigh different aspects<br>
differently. But it seems people are moving away from configure scripts.<br>
<br>
As Russell already said, several build/configuration tools are used and<br>
there is no clear winner in general. So I think it's very nice that you<br>
have added support for D to premake. So we then have SCons (build and<br>
configuration), CMake (configuration and several build tools via<br>
generators), rdmd (can generate dependencies for Makefile), Jacob as a<br>
build tool and there are several others specifically for D and premake.<br>
<br>
I'm not sure about the state of each of these. But SCons and CMake work<br>
with dmd (both do configuration). premake is also configuration.<br>
Regarding build tools I wonder how important they are. make works fairly<br>
well.<br>
<span class="HOEnZb"><font color="#888888"><br>
Jens<br>
</font></span></blockquote></div><br></div>