Dub.determineDefaultCompiler

Determine the default compiler to use for this instance

The default compiler will be used unless --compiler is specified. The environment variable DC will take precedence over anything, followed by the configuration. If nothing is found, the folder in which dub is installed will be searched, and if nothing is found, the $PATH will be searched. In the majority of cases, as we distribute dub alongside the compiler, it will be found once the directory in which dub reside is searched.

class Dub
protected const
string
determineDefaultCompiler
()

Return Value

Type: string

The value to use for the default compiler.

Meta