Specify dmd or ldc compiler and version in a json dub file?

Moritz Maxeiner via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Aug 8 02:21:54 PDT 2017


On Tuesday, 8 August 2017 at 09:17:02 UTC, data pulverizer wrote:
> Hi,
>
> I would like to know how to specify dmd or ldc compiler and 
> version in a json dub file.
>
> Thanks in advance.

You can't [1]. You can specify the compiler to use only on the 
dub command line via `--compiler=`.

[1] https://code.dlang.org/package-format?lang=json


More information about the Digitalmars-d-learn mailing list