On the performance of building D programs
Vladimir Panteleev
vladimir at thecybershadow.net
Sat Apr 6 04:02:16 PDT 2013
On Saturday, 6 April 2013 at 10:56:19 UTC, Jacob Carlborg wrote:
> On 2013-04-06 04:05, Vladimir Panteleev wrote:
>
>> 1) It will break tools like rdmd, for cases when the tool
>> knows the
>> exact set of modules that needs to be compiled
>> 2) When would that be useful?
>
> When building libraries of course.
Why would you want recursive compilation plus specifying multiple
modules?
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.
More information about the Digitalmars-d
mailing list