blachlylab / dhtslib

D bindings and OOP wrappers for htslib
MIT License
7 stars 1 forks source link

Default dub configuration #95

Closed charlesgregory closed 3 years ago

charlesgregory commented 3 years ago

Building with dhtslib as a dependency leads to the "unittest" configuration being used.

Performing "release" build using ldc2 for x86_64.
dhtslib 0.12.4+htslib-1.10: target for configuration "unittest" is up to date.

I think this can be fixed by making the "source" configuration the first configuration.

{
     "name": "source",
     "targetType": "library",
     "libs": ["hts"]
},
jblachly commented 3 years ago

You're probably right. I also just looked at dub.json and note that the source-static shoudl probably refer to htslib/libhts.a instead of ../htslib/...