dmd deps switch

Ary Borenszweig ary at esperanto.org.ar
Sun Aug 30 13:35:45 PDT 2009


Hi,

I'm trying to fetch a module's dependencies with the deps switch, but it 
gives me an empty list.

dmd main.d -deps=foo.txt

foo.txt is empty.

main.d is:

---
module main;

import other;

int main(char[][] args) {
	someVariable = 3;
	return 0;
}
---

and someVariable is defined in "other".

What am I doing wrong?



More information about the Digitalmars-d-learn mailing list