digitalmars.D.learn - exclude current directory from search path in dmd ?
- Timothee Cour via Digitalmars-d-learn (11/11) Mar 15 2015 Is there a way to exclude current directory from search path in dmd, so
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
Mar 15 2015