addDefaultVersionIdentifiers

Add default version identifier for dmd, and set the target platform in params. https://dlang.org/spec/version.html#predefined-versions

Needs to be run after all arguments parsing (command line, DFLAGS environment variable and config file) in order to add final flags (such as X86_64 or the CRuntime used).

void
addDefaultVersionIdentifiers
(
const ref Param params
,
const ref Target tgt
)

Parameters

params Param

which target to compile for (set by setTarget())

tgt Target

target

Suggestion Box / Bug Report