Hello, "Ellery Newcomer" <[email protected]> wrote in message news:[email protected]... > On 04/10/2010 08:27 PM, nedbrek wrote: >> Hello all, >> >> I think there are circumstances where one .d depends on another, but I'm >> not >> sure... is it every import? >> >> I tried "gdc -MM", but it said that option is not supported for D. >> >> Any recommendations? Do I need to break out sed and awk? >> > > I think if you pass your source directories via -I the order that *.d get > compiled doesn't matter (beyond efficiency ..).
Yea, I think the order is ok. > As far as dependencies, yeah, a d file will be dependent on anything it > imports. In DMD there's a -deps flag that outputs that information, and in > verbose mode, it will print out any import that it processes. I don't know > how much of that gdc has. Ok, I have dmd installed, maybe I can use it to generate the dependencies... > But I really think you shouldn't do that anyways. Hehe, yea. I'd prefer not to, but I think I am constrained (need a dll). Thanks, Ned
