DIP11: Automatic downloading of libraries
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Tue Jun 14 10:20:33 PDT 2011
On 6/14/11 12:21 PM, Adam D. Ruppe wrote:
> bearophile:
>> Isn't this also an argument for the (ancient request of) inclusion
>> of a normal build feature into the D compiler?
>
> I think if the compiler is going to be downloading files, it is
> necessarily looking for those files... thus it'd become a bit of
> a smarter build tool as a side effect of this change.
>
> It'd be silly if it said "this module is missing, and I'll download
> it, but I refuse to actually look at it once it's downloaded!"
Agreed. I think we should have a pragma that mentions "add this file to
the build" (possibly by adapting the existing pragma(lib, ...)), and
that pragma(liburl, ...) should imply that other pragma.
Andrei
More information about the Digitalmars-d
mailing list