dub.compilers.compiler

Compiler settings and abstraction.

Public Imports

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

Members

Classes

CompilerInvocationException
class CompilerInvocationException

Exception thrown in invokeTool and probePlatform if running the compiler returned non-zero exit code.

UnknownCompilerException
class UnknownCompilerException

Exception thrown in getCompiler if no compiler matches the given name.

UnsupportedArchitectureException
class UnsupportedArchitectureException

Exception thrown in Compiler.determinePlatform if the given architecture is not supported.

Functions

getCompiler
Compiler getCompiler(string name)

Returns a compiler handler for a given binary name.

matchesSpecification (from dub.platform)
bool matchesSpecification(BuildPlatform platform, const(char)[] specification) via public import dub.platform : BuildPlatform, matchesSpecification;

Matches a platform specification string against a build platform.

registerCompiler
void registerCompiler(Compiler c)

Registers a new compiler handler.

Interfaces

Compiler
interface Compiler
Undocumented in source.

Structs

BuildPlatform (from dub.platform)
struct BuildPlatform via public import dub.platform : BuildPlatform, matchesSpecification;

Represents a platform a package can be build upon.

Dependency (from dub.dependency)
deprecated struct Dependency via public import dub.dependency : Dependency;

Represents a dependency specification.

Meta

License

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

Authors

Sönke Ludwig