Git, the D package manager

Dicebot via Digitalmars-d digitalmars-d at puremagic.com
Mon Feb 2 07:29:54 PST 2015


On Monday, 2 February 2015 at 15:26:36 UTC, ketmar wrote:
> On Mon, 02 Feb 2015 15:01:02 +0000, Dicebot wrote:
>
>> On Monday, 2 February 2015 at 14:59:09 UTC, ketmar wrote:
>>> On Mon, 02 Feb 2015 14:18:47 +0000, Tobias Pankrath wrote:
>>>
>>>> At least I don't expect Dub to support every single language 
>>>> out there
>>>> natively.
>>>
>>> that's why other build tools allows to manually specify 
>>> dependencies
>>> and commands as a last resort. but dub can't.
>> 
>> Wrong on both points.
>
> please, can i see how dub can support building C library with 
> gcc? nope,
> not "just execute this very long command line and hope for the 
> best" -- i
> need dependency tracking, selective rebuilds and so on.

It is not the same as "manually specify dependencies and 
commands".

As for dependency tracking - afaik adding dub.json to C library 
that does have any sourceFiles but simply calls existing build 
tool via" preBuildCommands" should work. Not pretty but adds all 
the metadata you have with native D package.


More information about the Digitalmars-d mailing list