BuildPlatform

Represents a platform a package can be build upon.

Members

Functions

frontendVersionString
string frontendVersionString()

Frontend version string from frontendVersion e.g: 2067 => "2.067"

isWindows
bool isWindows()

Checks to see if platform field contains windows

Manifest constants

any
enum any;

Special constant used to denote matching any build platform.

Variables

architecture
string[] architecture;

CPU architecture identifiers, e.g. ["x86", "x86_64"]

compiler
string compiler;

Canonical compiler name e.g. "dmd"

compilerBinary
string compilerBinary;

Compiler binary name e.g. "ldmd2"

compilerVersion
string compilerVersion;

Compiler version e.g. "1.11.0"

frontendVersion
int frontendVersion;

Compiled frontend version (e.g. 2067 for frontend versions 2.067.x)

platform
string[] platform;

Platform identifiers, e.g. ["posix", "windows"]

Meta