On Sat, 27 Dec 2014 17:38:55 +0000 "Adam D. Ruppe via Digitalmars-d-learn" <[email protected]> wrote:
> On Saturday, 27 December 2014 at 17:36:39 UTC, Derix wrote: > > What am I missing ? Or, to put it more simply, what would be the > > correct dmd command line to import a module defined in a sibling > > directory ? > > I don't know about the IDE, but the command line is easy: all > your projects modules can be listed on it and it will work. > > dmd yourfile.d journal/journal.d > > > giving them all at once means the necessary code will always be > found, compiled, and linked in. It is also generally faster than > trying to compile files separately, and easier too - an all > around win. and not always working too. ;-) there is at least one bug with template function attributes inferencing, but as i found no volunteers to narrow it down and i'm using only separate compilation, it will wait for another reporter. ;-)
signature.asc
Description: PGP signature
