Let the D compiler print the dependencies.

Johan Granberg lijat.meREM at OVE.gmail.com
Wed Dec 27 08:06:24 PST 2006


Frank Benoit (keinfarbton) wrote:

>> (I also think it should print filnames
>> and not moduenames, or have two switches)
> 
> If the file is actually missing, the compiler perhaps does not know the
> filename. It can be in a missing search path and it can be a .d or .di
> file. So printing the module name will always work.
> 
> The build tool can than search in in the project folders or can start a
> download of the missing sources, or something like that... then start a
> new compile run.

Ok I see the problem with missing files.

The reason I wanted it was to be able to write somthing like this.

# bash code
grep text `dmd -deps file.d`



More information about the Digitalmars-d mailing list