dub repository for a C binding
Sebastian Graf
SebastianGraf at t-online.de
Tue Oct 15 13:07:12 PDT 2013
On Friday, 11 October 2013 at 10:57:38 UTC, Sönke Ludwig wrote:
> Am 11.10.2013 11:25, schrieb Sebastian Graf:
>> On Thursday, 10 October 2013 at 01:51:09 UTC, Rikki Cattermole
>> wrote:
>>>
>>> Take a look at copyFiles option. It copies files e.g. dll's
>>> into the
>>> bin directory when compiled. Although keep an option
>>> available in e.g.
>>> a subpackage that does not do this.
>>>
>>> For more information on what dub can do look at
>>> http://code.dlang.org/package-format.
>>
>> And how would I go about the import lib? I have to somehow
>> feed it into
>> the compiler, preferably automatically when referencing the
>> (sub-)package.
>
> Right now you have to use the "sourceFiles" field for that.
> Later it
> should be possible to set a library search path + library name
> instead.
> Example:
> https://github.com/s-ludwig/dlibgit/blob/master/package.json
Thanks, that's what I do now for copying the libraries into the
bin directory.
More information about the Digitalmars-d
mailing list