DUB: link to local library

andre via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Sep 10 09:26:06 PDT 2014


Dub command line supports something like Dub add-local. Then you 
can use the package directly.

Kind regards
Andre

On Wednesday, 10 September 2014 at 15:40:11 UTC, Edwin van 
Leeuwen wrote:
> On Wednesday, 10 September 2014 at 13:40:16 UTC, rcor wrote:
>> dub.json contains what I think should do the same as above:
>> {
>>  "name": "test",
>>  "importPaths": ["ext/dallegro5"],
>>  "lflags": ["-Lext/dallegro5"]
>> }
>
> Does adding:
>
> "libs": ["dallegro5"]
>
> make a difference?
>
> Cheers, Edwin



More information about the Digitalmars-d-learn mailing list