Dub use

Sönke Ludwig via Digitalmars-d digitalmars-d at puremagic.com
Tue Dec 1 11:38:57 PST 2015


Am 01.12.2015 um 20:21 schrieb Russel Winder via Digitalmars-d:
> On Tue, 2015-12-01 at 18:45 +0000, Brad Anderson via Digitalmars-d
> wrote:
>> […]
>>
>> dub --compiler=ldc2
>
> Is there an in dub.sdl version of this?
>

Not currently. dub.sdl is not ideal, because it would lead to 
ambiguities within the dependency graph, but dub.selections.json could 
be extended to support that.

What is also possible is to add a "defaultCompiler" field to 
~/.dub/settings.json to change the default compiler user-wide.


More information about the Digitalmars-d mailing list