Git, the D package manager

Martin Nowak via Digitalmars-d digitalmars-d at puremagic.com
Tue Feb 3 10:56:58 PST 2015


On 02/02/2015 12:00 PM, Manu via Digitalmars-d wrote:
> If my D project depends on a C lib, then what am I supposed to do to
> make dub useful for me?

This is a simple problem to solve.
All package tools support a way to build "native" extensions, mostly by 
scripting the builds.
You can already add preBuildCommands and use whatever you like, e.g. a D 
script to build your C library.
It wouldn't be too hard to compile just a few C files, but if you 
already need this, chances are you need more flexibility anyhow.


More information about the Digitalmars-d mailing list