Re: Import paths do not work

2015-01-29 Thread Atila Neves via Digitalmars-d-learn
I would suggest instead of using make, use dub[0] build manager instead. It'll handle grabbing all the files and compiling them correctly. [0] http://code.dlang.org/package-format Or for simple projects such as this one seems to be, just use rdmd. Atila

Re: Import paths do not work

2015-01-29 Thread tcak via Digitalmars-d-learn
On Thursday, 29 January 2015 at 10:26:56 UTC, Atila Neves wrote: I would suggest instead of using make, use dub[0] build manager instead. It'll handle grabbing all the files and compiling them correctly. [0] http://code.dlang.org/package-format Or for simple projects such as this one seems

Re: Import paths do not work

2015-01-29 Thread Jesse Phillips via Digitalmars-d-learn
Let me try to explain the compilation process which may help you to understand where your problem lies. * Build system * Maintain program/library dependencies * Execute commands resulting in a usable program/library * Compiler * Lexical Analysis * Parsing

Import paths do not work

2015-01-28 Thread tcak via Digitalmars-d-learn
I have a library that has many folders and D files in them. I do not want to list name of all module files one by one while compiling projects. So, I thought I could use -I flag while compiling. It says: -Ipath where to look for imports So, I made a test as follows: ./test.d

Re: Import paths do not work

2015-01-28 Thread Rikki Cattermole via Digitalmars-d-learn
On 29/01/2015 8:08 p.m., tcak wrote: I have a library that has many folders and D files in them. I do not want to list name of all module files one by one while compiling projects. So, I thought I could use -I flag while compiling. It says: -Ipath where to look for imports So, I made a