digitalmars.D.learn - dco how to specify Jpath?
- Suliman (10/10) Nov 20 2014 I am playing with dco. And it's look very helpful for tiny
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
Nov 20 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/sourceOk,I will add it. Thank you.
Dec 20 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.
Dec 20 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/sourceDefault importPath is importPath=-I$(DMDInstallDir)windows/import You can modify it to your source. or add your source to the end. to do it: importPath=-I$(DMDInstallDir)windows/import -ID:\code\d\App1\source\
Dec 20 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/sourceIn dco.ini importPath= -I..\\source // modity it to your source
Dec 20 2014
On Sunday, 21 December 2014 at 07:43:14 UTC, FrankLike wrote:On Thursday, 20 November 2014 at 10:48:17 UTC, Suliman wrote:In dco 0.1.0,you can get the 'local.ini' by 'dco -ini'. You can config project in local.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/sourceIn dco.ini importPath= -I..\\source // modity it to your source
Jan 09 2015
On Friday, 9 January 2015 at 16:40:37 UTC, FrankLike wrote: https://github.com/FrankLIKE/dco you can use dco by local.ini( create it by dco -ini ),config your info into local.ini. modify the ';dflag=' to 'dflags=-JyourPath' Thank you.
Feb 01 2015