<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sun, Sep 7, 2014 at 5:31 AM, Russel Winder via Digitalmars-d <span dir="ltr"><<a href="mailto:digitalmars-d@puremagic.com" target="_blank">digitalmars-d@puremagic.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I realize that Dub is now the "one true build system" for D code, and<br>
indeed I will be using it for a couple of hobby projects. However we<br>
need to give people a way of moving from their current code bases to<br>
incorporating D: we need to give C, C++ and Fortran projects an easy<br>
transition to incorporating some D and then increasing their percentage<br>
of D as they see how much better it is than C, C++, Fortran. This means<br>
support for D in SCons and CMake – people using Make are on their<br>
own ;-)<br></blockquote><div><br></div><div>More than that, these systems need to be available for D users who need/want to use third party code that isn't in D. Dub can't (and in my opinion shouldn't) facilitate that. </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I am not really a CMake user (apart from compiling LDC), but I<br>
understand there is some support for integrating D into builds. Effort<br>
on this needs to be made very public and given lots of airplay. Ditto<br>
for SCons D support of course.<br></blockquote><div><br></div><div>The support for D in CMake is currently very minimal. Various groups (including LDC) have partial solutions that work to a certain extent. However, they miss out on a handful of CMake features. I have a project (<a href="https://github.com/trentforkert/cmake">https://github.com/trentforkert/cmake</a>) aiming to implement proper, full support, but there is still work to be done before it is even proposed for inclusion upstream.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
With SCons I have reworked what was in SCons to something more useful,<br>
and that is now in the distribution. However, it is in need of a lot<br>
more work. In particular:<br>
<br>
a. It needs someone who is a Windows user to be involved in sorting out<br>
the Windows side of things.<br>
<br>
b. It would be good if there was an everyday OSX user involved, whilst I<br>
have OSX I do not use it except occasionally.<br>
<br>
I am happy doing all the Python coding and pull requests etc, but I<br>
clearly need WIndows and OSX (and Linux, OpenBSD, FreeBSD, Solaris,…)<br>
people using my SCons branch to work with the D tooling to tell me what<br>
breaks and how to fix it. </blockquote><div><br></div><div>While my triple-booted MBP somewhat lessens my desire for OSX and Windows assistance, it would also benefit me. FWIW, I'll try to remember to grab SCons and test it out a bit next time I find myself in OSX or Windows.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The problem of the moment is ensuring SCons D tools (there are three,<br>
dmd, gdc, ldc) are ready for all the dynamic linking stuff that is<br>
easing its way into D. Getting this right strikes me as a Good Thing™<br>
for increased use of D: the main aim here is to ensure people with mixed<br>
language projects do not get hassles from the D side of things! </blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="HOEnZb"><font color="#888888">--<br>
Russel.<br>
=============================================================================<br>
Dr Russel Winder t: <a href="tel:%2B44%2020%207585%202200" value="+442075852200">+44 20 7585 2200</a> voip: <a href="mailto:sip%3Arussel.winder@ekiga.net">sip:russel.winder@ekiga.net</a><br>
41 Buckmaster Road m: <a href="tel:%2B44%207770%20465%20077" value="+447770465077">+44 7770 465 077</a> xmpp: <a href="mailto:russel@winder.org.uk">russel@winder.org.uk</a><br>
London SW11 1EN, UK w: <a href="http://www.russel.org.uk" target="_blank">www.russel.org.uk</a> skype: russel_winder<br>
</font></span></blockquote></div><br></div><div class="gmail_extra"> - Trent</div></div>