Prototype DIP11

Steven Schveighoffer schveiguy at yahoo.com
Mon Aug 15 06:39:00 PDT 2011


On Sun, 14 Aug 2011 20:00:41 -0400, Martin Nowak <dawg at dawgfoto.de> wrote:

> I see.
>
> For binary distributions it would be simple to make pragma(lib,) work  
> from imported sources.
> This would allow for something similar to what boost uses with Visual  
> Studio.
> I will add that in the DIP11 tree.
>
> IMHO binary distributions don't allow a simple package distribution,  
> because it's difficult to provide binaries for all platforms
> and dmd changes rather rapidly making binaries incompatible.
> So my conclusion is, to allow source distributions one needs a directive  
> that instructs the compiler to actually build imported modules.

I think this is correct.  If you feel you have a good handle on what is  
required to get the compiler to build imported files, feel free to amend  
the DIP.

Thanks for trying this!

-Steve


More information about the Digitalmars-d mailing list