On the performance of building D programs
Vladimir Panteleev
vladimir at thecybershadow.net
Fri Apr 5 19:05:27 PDT 2013
On Friday, 5 April 2013 at 14:01:31 UTC, Jacob Carlborg wrote:
> On 2013-04-05 15:45, Vladimir Panteleev wrote:
>
>> -r should be disabled for such cases - thus, enabled only when
>> there's
>> one .d file and no .obj / .lib files. Although specifying
>> library files
>> on the compiler's command line is a valid use case, compatible
>> with
>> recursive compilation, I think we should promote the use of
>> pragma(lib)
>> instead.
>
> Why not when there's multiple source files?
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?
More information about the Digitalmars-d
mailing list