On 4/6/13, Jacob Carlborg <[email protected]> wrote:
>> For a library, you generally know the exact set of modules to be built.
>> If not in a makefile / build script, you could write one dummy module
>> that imports all of the library's components, and use that as the root
>> of incremental compilation.
>
> Using a dummy module is ugly.

It doesn't necessarily have to be dummy. I like to use an 'all.d'
module which imports all of my library modules. I've used this
technique to run unittest via "rdmd --main mylib\all.d". But being
able to recursively compile a static library would be pretty nice.

Reply via email to