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

Bastiaan Veelo Bastiaan at Veelo.net
Mon Jan 20 11:54:43 UTC 2020


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

Update: you can at least specify these in the toolchain 
requirements section: 
https://dub.pm/package-format-json.html#toolchain-requirements

I myself am looking for ways to satisfy these automatically, 
using a tool like dvm (https://code.dlang.org/packages/dvm) in 
preBuildCommands.

Bastiaan.


More information about the Digitalmars-d-learn mailing list