DIP 11: trial partial implementation
Adam D. Ruppe
destructionator at gmail.com
Sun Jun 19 12:55:47 PDT 2011
Jacob Carlborg wrote:
> BTW, to just get the dependencies, would that be with the -deps and
> -c flags? Is the a better way?
That's probably as good as it gets... thanks to mixins,
templates, versions, static ifs etc. you can't be sure you got
all the right deps without going through at least the majority
of the compile process.
Of course you could always just run a search for an import
statement in the source if speed is more important than
specific accuracy. That's good enough for a great many cases.
More information about the Digitalmars-d
mailing list