March 16, 2015 exclude current directory from search path in dmd ? | ||||
---|---|---|---|---|
| ||||
Attachments:
| Is there a way to exclude current directory from search path in dmd, so that the search path is only given by '-I' arguments (+ones from dmd.conf)? use case: files: /base/foo.d /base/bar/foo.d /base/bar/main.d #contains: import foo.d cd /base/bar dmd -I/base main.d => I want 'import foo.d' to point to /base/foo.d, not /base/bar/foo.d, but this is not the case since -I. is implicit in search path |
Copyright © 1999-2021 by the D Language Foundation