dco how to specify Jpath?

FrankLike via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Dec 20 23:32:48 PST 2014


On Thursday, 20 November 2014 at 10:48:17 UTC, Suliman wrote:
> I am playing with dco. And it's look very helpful for tiny 
> projects.
>
> I can't understand is it's possible to add to dco.ini Jpath?
> I am talking about something like:
> dflags=-JD:\code\d\App1\source\
>
> but when I am trying to compile code with dco it's can't find 
> import.
> I looked at source code and it's look like it's do not support 
> dflags...
>
> https://github.com/FrankLIKE/dco/tree/master/source

-Jpath
where to look for files for ImportExpressions. This switch is 
required in order to use ImportExpressions. path is a ; separated 
list of paths. Multiple -J's can be used, and the paths are 
searched in the same order.

ImportExpression:
     import ( AssignExpression )

But -Ipath
     -ID:\code\d\App1\source\
It's ok.
So dco now can do it.


More information about the Digitalmars-d-learn mailing list