import from subdir
Jonathan M Davis
jmdavisProg at gmx.com
Thu Dec 23 05:26:57 PST 2010
On Thursday 23 December 2010 04:38:56 spir wrote:
> Hello,
>
> Say I have a project with the following tree structure:
>
> [app]
> app.d
> util.d
> [test]
> test.d
> [data]
> data.d
>
> Is there a way to import util & data from test?
Use the -I flag when compiling. Presumably, you'd do something like -I../ so that
it would also search for files starting at the parent directory.
- Jonathan M Davis
More information about the Digitalmars-d-learn
mailing list