On Wednesday, 5 February 2014 at 21:50:17 UTC, Orfeo wrote:
Suppose I have a project "protocols" that uses DMock and a library Foo. I would like to use a structure dub style..Which solution is better:

A.

protocols
 ├── bin
 │   └── protocols.a
 ├── dmocks
 │   └── *.d
 ├── foo
 │   └── *.d
 ├── src
 │   └── protocols
 │       └── *.d

B.

protocols
 ├── bin
 │   └── protocols.a
 ├── src
 │   ├── dmocks
 │   │    └── *.d
 │   ├── foo
 │   │    └── *.d
 │   └── protocols
 │        └── *.d


Or another solution?
Thanks

I would probably advise against having the outside libraries inside your project at all. Have them parallel to protocols either add a /lib folder to protocols that can hold their binaries or pull from the outside (you'll need to point your includes outside your own project anyways).

Reply via email to