dub subpackage output to shared lib not working

Tofu Ninja via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Jan 26 11:01:41 PST 2017


On Thursday, 26 January 2017 at 18:26:27 UTC, Tofu Ninja wrote:
> On Thursday, 26 January 2017 at 18:10:12 UTC, Tofu Ninja wrote:
>> On Thursday, 26 January 2017 at 18:00:57 UTC, Tofu Ninja wrote:
>>> Is this not doable?
>>
>> I guess an alternative question, is there any way to have 
>> multiple binaries(an executable and a bunch of shared libs) 
>> built from a single dub package? Or should I just give up on 
>> trying to use dub for this...
>
> This [https://github.com/dlang/dub/issues/665] seems to be 
> somewhat related to what I am trying to do, not sure if this 
> got addressed at all though.

Actually.. if I do dub describe on the root package it lists both 
the exe and the lib as targets but the build settings for the lib 
has "targetType": 6 which according to 
dub/source/dub/compilers/buildsettings.d is staticLibrary... is 
this a bug or what?


More information about the Digitalmars-d-learn mailing list