Dub package with C code

Sebastiaan Koppe via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Sep 24 04:38:06 PDT 2015


On Thursday, 24 September 2015 at 08:35:40 UTC, Edwin van Leeuwen 
wrote:
> Alternatively you could use reggea to build both.

I want to use dub.

Simply because of code.dlang.org. Or can reggae also pull 
packages from there?

> You could try including the c source in your repo and add 
> preBuildCommands to the dub config which builds the static 
> library.

preBuildCommands seems to be the way to go.

Thank you all.


More information about the Digitalmars-d-learn mailing list