Re Build tools for D [ was Re: Prototype buildsystem "Drake"]

Nick Sabalausky a at a.a
Mon Jul 18 19:44:49 PDT 2011


"James Fisher" <jameshfisher at gmail.com> wrote in message 
news:mailman.1733.1311010642.14074.digitalmars-d at puremagic.com...
> When writing Haskell and compiling with GHC, the compiler automatically
> finds the module dependencies and compiles them in the correct order.  If 
> I
> touch a few modules and recompile, GHC will only recompile the touched
> modules as appropriate, then re-link.  In other words, GHC is the build 
> tool
> as well as the compiler.  The advantages of this approach over having a
> separate build tool are:
>

In the context of the rest of this thread, "build tool" refers to something 
that can handle multiple targets, multiple configurations and custom build 
steps. So that doesn't sound like quite the same thing. D does already have 
RDMD which is equivalent to what you're talking about (and it uses the -deps 
flag Jacob mentioned to get the deps directly from the actual compiler).




More information about the Digitalmars-d mailing list