www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - How to reference another dub project?

reply "zhmt" <zhmtzhmt qq.com> writes:
I have two dub projects, one is library, the other one is app. 
The library is referenced by the app. How to reference it in 
dub.json?

I found the subPackage, It does not meet my needs exactly.
Mar 13 2015
parent "zhmt" <zhmtzhmt qq.com> writes:
On Friday, 13 March 2015 at 08:24:11 UTC, zhmt wrote:
 I have two dub projects, one is library, the other one is app. 
 The library is referenced by the app. How to reference it in 
 dub.json?

 I found the subPackage, It does not meet my needs exactly.
I got it: "dependencies": { "gamelibd":{"path":"../gamelibd/"} },
Mar 13 2015