How to target ldc compiler only in dub

data pulverizer data.pulverizer at gmail.com
Wed May 27 00:54:45 UTC 2020


On Wednesday, 27 May 2020 at 00:52:55 UTC, mw wrote:
> On Tuesday, 26 May 2020 at 22:28:14 UTC, data pulverizer wrote:
>> I am trying to build a package to target LDC compiler only. I
>
> set env:
>
> LDC=<your ldc install root>
> DUB = $(LDC)/bin/dub
>
> then, run this new dub:
>
> $(DUB) build

Thanks. Building with `dub run --compiler=ldc2` works so I think 
I'll do that instead.


More information about the Digitalmars-d-learn mailing list