On Friday, 11 December 2015 at 04:09:19 UTC, Chris Wright wrote:
On Fri, 11 Dec 2015 03:20:29 +0000, J Smith wrote:

How do I make it so that I can import and use the contents of lib.d inside of testlib.d.

If you are not compiling everything in one step, the -I flag allows you to specify paths to look for imports. For instance:

$ dmd -lib src/package_name/lib.d
$ dmd -Isrc test/testlib.d libpackage_name.a

Whops. I re-read the post, and yeah, it is for other import.

Reply via email to