On Wednesday, 9 October 2013 at 17:12:14 UTC, Sebastian Graf wrote:
Hi,

how would I create a dub repository for a ready-to-use C binding + pre-compiled binaries? Doesn't have to distinguish between platforms for now, but I would appreciate it nonetheless.

I aim to then simply reference it in my actual D project, preferably using dub ofc.

Thanks!

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.

Reply via email to