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.

martin

Reply via email to