[Issue 14811] allow to exclude current directory from search path in dmd
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Jul 29 18:50:39 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14811
--- Comment #5 from Timothee Cour <timothee.cour2 at gmail.com> ---
>> Why you cannot do that from the project root directory?
There's not always an obvious project root directory, eg when using submodules
or several outside packages.
>> The feature explanation does not argue the necessity of the enhancement. Please show to us the situation where the feature is necessary.
* I'm not the only one wanting this:
http://forum.dlang.org/post/mlqdzpswbwqyrwiibqwg@forum.dlang.org
* It exists in c++
http://stackoverflow.com/questions/12353429/prevent-gcc-from-searching-the-current-dir-i-option-on-include-search-path
* if the 'natural' working directory is foo/ (current directory, where user
edits files etc), wrapping every dmd invocation with
'cd root && dmd some_command && cd -'
is inconvenient. Eg, the error messages will be wrt to root, not wrt user's
current directory
--
More information about the Digitalmars-d-bugs
mailing list