Compiler

Members

Functions

extractBuildOptions
void extractBuildOptions(ref BuildSettings settings)

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

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

Invokes the compiler using the given flags

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

Invokes the underlying linker directly

prepareBuildSettings
void prepareBuildSettings(ref BuildSettings settings, BuildSetting supported_fields = BuildSetting.all)

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

setTarget
void setTarget(ref BuildSettings settings, in BuildPlatform platform, string targetPath = null)

Adds the appropriate flag to set a target path

Meta