dub.compilers.compiler

Compiler settings and abstraction.

Members

Enums

BuildOptions
enum BuildOptions
Undocumented in source.
BuildRequirements
enum BuildRequirements
Undocumented in source.
BuildSetting
enum BuildSetting
Undocumented in source.
TargetType
enum TargetType
Undocumented in source.

Functions

enforceBuildRequirements
void enforceBuildRequirements(BuildSettings settings)

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

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.
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, 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.

BuildSettings
struct BuildSettings

BuildPlatform specific settings, like needed libraries or additional include paths.

Meta

License

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

Authors

Sönke Ludwig