Compiler

Undocumented in source.

Members

Functions

determinePlatform
BuildPlatform determinePlatform(BuildSettings settings, string compiler_binary, string arch_override)
Undocumented in source.
extractBuildOptions
void extractBuildOptions(BuildSettings settings)

Removes any dflags that match one of the BuildOptions values and populates the BuildSettings.options field.

invoke
void invoke(BuildSettings settings, BuildPlatform platform, void delegate(int, string) output_callback)

Invokes the compiler using the given flags

invokeLinker
void invokeLinker(BuildSettings settings, BuildPlatform platform, string[] objects, void delegate(int, string) output_callback)

Invokes the underlying linker directly

invokeTool
void invokeTool(string[] args, void delegate(int, string) output_callback)
Undocumented in source. Be warned that the author may not have intended to support it.
prepareBuildSettings
void prepareBuildSettings(BuildSettings settings, BuildSetting supported_fields)

Replaces high level fields with low level fields and converts dmd flags to compiler-specific flags

setTarget
void setTarget(BuildSettings settings, BuildPlatform platform, string targetPath)

Adds the appropriate flag to set a target path

Properties

name
string name [@property getter]
Undocumented in source.

Meta