Dependency management in D

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Thu Sep 18 22:18:52 PDT 2014


On 9/18/2014 9:56 AM, Vladimir Panteleev wrote:
> On Thursday, 18 September 2014 at 16:48:22 UTC, Scott Wilson wrote:
>> Unit of compilation is one D file but I saw if I pass several D
>> files to the compiler only one .o file is generated. Whats the
>> story there.
>
> DMD will generate one object file per module file, unless you use the -of
> option.

This is incorrect. It'll generate one object file per invocation of dmd.



More information about the Digitalmars-d mailing list