Re: Dub, SDL, and Subpackages

2017-01-16 Thread Russel Winder via Digitalmars-d-learn
On Mon, 2017-01-16 at 23:16 +1300, rikki cattermole via Digitalmars-d- learn wrote: > […] > Change targetType to "library" and it should work. > It doesn't auto infer that it should be library since you have > overriden  > that ability of it. That isn't going to work because it then tries to build

Re: Dub, SDL, and Subpackages

2017-01-16 Thread rikki cattermole via Digitalmars-d-learn
On 16/01/2017 11:14 PM, Russel Winder via Digitalmars-d-learn wrote: The Dub manual says that: name "mylib" targetType "none" dependency "mylib:component1" version="*" subPackage { name "component1" targetType "library" sourcePaths "component1/source" importPaths

Dub, SDL, and Subpackages

2017-01-16 Thread Russel Winder via Digitalmars-d-learn
The Dub manual says that: name "mylib" targetType "none" dependency "mylib:component1" version="*" subPackage { name "component1" targetType "library" sourcePaths "component1/source" importPaths "component1/source" } is reasonable. However whenever I try somethin