Git, the D package manager
Jacob Carlborg via Digitalmars-d
digitalmars-d at puremagic.com
Sun Feb 8 13:02:13 PST 2015
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
More information about the Digitalmars-d
mailing list