Simple import question

Sag Academy via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Oct 16 04:02:30 PDT 2014


On Thursday, 16 October 2014 at 10:59:29 UTC, Rei Roldan wrote:
> On Wednesday, 15 October 2014 at 16:11:22 UTC, Steven 
> Schveighoffer wrote:
>> *snip*
>
> You might of missed Adam's response up there:
>
> " But the best way is to explicitly pass all the file names to 
> the compiler:
>
> dmd yourfile.d file2.d folder/file3.d and so on...
>
> Doing that will serve you best in the long run, it will work 
> with
> any module name and will link better too. "
>
> I also prefer explicitly telling the compiler what I want to be 
> compiled instead of the "start here and pull everything you can 
> find" approach.

i think you are going in right way


More information about the Digitalmars-d-learn mailing list