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
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
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
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
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