On 2015-02-04 19:07, Vladimir Panteleev wrote:

You mean via extern(C)?

You can use pragma(lib), and the compiler will emit a linker instruction
to add the specified library. I'm not sure about the platform support,
though.

No, I mean like this:

module mylib.foo;

void foo () {}


module mylib.bar;

void bar () {}


$ rdmd mylib/foo.d

The above command will obviously not compile "bar.d". What I mean is that it's no longer enough to pass a single file and let RDMD track the dependencies.

--
/Jacob Carlborg

Reply via email to