dub.compilers.compiler

Compiler settings and abstraction.

Public Imports

dub.compilers.buildsettings
public import dub.compilers.buildsettings;
Undocumented in source.

Members

Functions

defaultCompiler
string defaultCompiler()
Undocumented in source. Be warned that the author may not have intended to support it.
enforceBuildRequirements
void enforceBuildRequirements(BuildSettings settings)

Alters the build options to comply with the specified build requirements.

generatePlatformProbeFile
Path generatePlatformProbeFile()

Generate a file that will give, at compile time, informations about the compiler (architecture, frontend version...)

getCompiler
Compiler getCompiler(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
getTargetFileName
string getTargetFileName(BuildSettings settings, BuildPlatform platform)
Undocumented in source. Be warned that the author may not have intended to support it.
isLinkerFile
bool isLinkerFile(string f)
Undocumented in source. Be warned that the author may not have intended to support it.
readPlatformProbe
BuildPlatform readPlatformProbe(string output)
Undocumented in source. Be warned that the author may not have intended to support it.
registerCompiler
void registerCompiler(Compiler c)
Undocumented in source. Be warned that the author may not have intended to support it.
resolveLibs
void resolveLibs(BuildSettings settings)

Replaces each referenced import library by the appropriate linker flags.

warnOnSpecialCompilerFlags
void warnOnSpecialCompilerFlags(string[] compiler_flags, BuildOptions options, string package_name, string config_name)
Undocumented in source. Be warned that the author may not have intended to support it.

Interfaces

Compiler
interface Compiler
Undocumented in source.

Structs

BuildPlatform
struct BuildPlatform

Represents a platform a package can be build upon.

Meta

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.

Authors

Sönke Ludwig