Get all files imported by a D source file

Yuxuan Shui via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Sep 7 22:39:02 PDT 2016


Hi,

I wonder if there's standardized way to gather which files are 
imported by a source file. I know I can run "dmd -v" and look for 
lines start with "import", but I don't know if this is the best 
way to do it.


More information about the Digitalmars-d-learn mailing list