On Tue, 2012-10-23 at 14:58 -0700, H. S. Teoh wrote: […] > Well, dmd tends to work best when given the full list of D files, as > opposed to the C/C++ custom of per-file compilation. (It's also faster > that way---significantly so.) The -op flag is your friend when it comes > to using dmd with multi-folder projects. > > And I just tried: gdc works with multiple files too. I'm not sure how > well it handles a full list of D files, though, if some of those files > may not necessarily be real dependencies.
So perhaps the D tooling for SCons should move more towards the Java approach than the C/C++/Fortran approach, i.e. a compilation step is a single one depending only on source files and generating a known set of outputs (which is easier than Java since it can generate an almost untold number of output files, Scala is even worse). -- Russel. ============================================================================= Dr Russel Winder t: +44 20 7585 2200 voip: sip:[email protected] 41 Buckmaster Road m: +44 7770 465 077 xmpp: [email protected] London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
signature.asc
Description: This is a digitally signed message part
