Re: Why -I flag does not work?

2019-02-09 Thread Victor Porton via Digitalmars-d-learn
On Saturday, 9 February 2019 at 08:15:36 UTC, Victor Porton wrote: Why does -I flag in DFLAGS does not work? (Ubuntu Linux) https://github.com/dlang/dub/issues/1645

Re: Why -I flag does not work?

2019-02-09 Thread Victor Porton via Digitalmars-d-learn
On Saturday, 9 February 2019 at 11:40:57 UTC, Victor Porton wrote: On Saturday, 9 February 2019 at 08:35:53 UTC, JN wrote: On Saturday, 9 February 2019 at 08:15:36 UTC, Victor Porton wrote: Why does -I flag in DFLAGS does not work? (Ubuntu Linux) I'm no expert on dub, but it's possible that

Re: Why -I flag does not work?

2019-02-09 Thread Victor Porton via Digitalmars-d-learn
On Saturday, 9 February 2019 at 08:35:53 UTC, JN wrote: On Saturday, 9 February 2019 at 08:15:36 UTC, Victor Porton wrote: Why does -I flag in DFLAGS does not work? (Ubuntu Linux) I'm no expert on dub, but it's possible that it's overriding the import path anyway. One of the main points of

Re: Why -I flag does not work?

2019-02-09 Thread Victor Porton via Digitalmars-d-learn
On Saturday, 9 February 2019 at 10:32:36 UTC, DanielG wrote: On Saturday, 9 February 2019 at 08:15:36 UTC, Victor Porton wrote: Why does -I flag in DFLAGS does not work? (Ubuntu Linux) Try adding the -i flag as well ("include imported modules in -i in DFLAGS does not help. -I works when

Re: Why -I flag does not work?

2019-02-09 Thread DanielG via Digitalmars-d-learn
On Saturday, 9 February 2019 at 08:15:36 UTC, Victor Porton wrote: Why does -I flag in DFLAGS does not work? (Ubuntu Linux) Try adding the -i flag as well ("include imported modules in the compilation"), or setting both importPaths and sourcePaths in dub.json. I'm not certain that will

Re: Why -I flag does not work?

2019-02-09 Thread JN via Digitalmars-d-learn
On Saturday, 9 February 2019 at 08:15:36 UTC, Victor Porton wrote: Why does -I flag in DFLAGS does not work? (Ubuntu Linux) I'm no expert on dub, but it's possible that it's overriding the import path anyway. One of the main points of dub is that you shouldn't have to handle the import paths

Re: Why -I flag does not work?

2019-02-09 Thread Victor Porton via Digitalmars-d-learn
On Saturday, 9 February 2019 at 08:15:36 UTC, Victor Porton wrote: $ DFLAGS="-I/usr/local/include/d/librdf -L-L/usr/local/lib" dub build --compiler=dmd --build=unittest ... Why does -I flag in DFLAGS does not work? (Ubuntu Linux) This does not work too: $

Why -I flag does not work?

2019-02-09 Thread Victor Porton via Digitalmars-d-learn
For this project: https://github.com/vporton/xml-boiler-dlang/tree/85b5587f50617ad1b001c035c72a5780a1e69c24 $ DFLAGS="-I/usr/local/include/d/librdf -L-L/usr/local/lib" dub build --compiler=dmd --build=unittest Performing "unittest" build using dmd for x86_64. xml-boiler-dlang ~master: