On the performance of building D programs
Andrej Mitrovic
andrej.mitrovich at gmail.com
Sat Apr 6 07:22:39 PDT 2013
On 4/6/13, Jacob Carlborg <doob at me.com> 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.
More information about the Digitalmars-d
mailing list