Get all files imported by a D source file

Jacob Carlborg via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Sep 8 23:25:08 PDT 2016


On 2016-09-08 09:20, Yuxuan Shui wrote:

> -deps is even noisier than just -v...

This is what the -deps flag is intended for:

  -deps          print module dependencies (imports/file/version/debug/lib)

There's also the -deps=<filename> flag, kind of similar:

-deps=filename write module dependencies to filename (only imports)

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list