Using Dub

Russel Winder via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jan 16 01:42:03 PST 2017


On Sun, 2017-01-15 at 17:44 +0000, cym13 via Digitalmars-d-learn wrote:
> On Sunday, 15 January 2017 at 13:23:25 UTC, Russel Winder wrote:
> > Is there any way of setting dub to default to ldc2 rather than 
> > dmd as the compiler of use? (I do not want to have to put 
> > --compiler ldc2 on every dub command.)
> 
> Create a file ~/.dub/settings.json with the following content:
> 
>      {
>          "defaultCompiler": "ldc2"
>      }

Will an SDL file also work?


-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder at ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel at winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20170116/5f42298f/attachment.sig>


More information about the Digitalmars-d-learn mailing list