Get all files imported by a D source file
Jacob Carlborg via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Sep 12 00:16:02 PDT 2016
On 2016-09-09 18:10, Yuxuan Shui wrote:
> Also the output format seems to change between versions (or between
> compilers, I don't know).
>
> Because dmd 2.071 prefix lines with "depsImport", while ldc (based on
> dmd 2.070.2) doesn't.
The -deps and -deps=<filename> will give you different output. See "dmd
--help".
--
/Jacob Carlborg
More information about the Digitalmars-d-learn
mailing list