reggae.rules.dub

High-level rules for building dub projects. The rules in this module only replicate what dub does itself. This allows a reggaefile.d to reuse the information that dub already knows about.

Members

Enums

CompilationMode
enum CompilationMode
Undocumented in source.

Functions

dubConfigurationTarget
Target dubConfigurationTarget()

Builds a particular dub configuration (executable, unittest, etc.)

dubDefaultTarget
Target dubDefaultTarget()

Builds the main dub target (equivalent of "dub build")

dubDependencies
Target[] dubDependencies()

All dub packages object files from the dependencies, but nothing from the main package (the one actually being built).

dubImportPaths
ImportPaths dubImportPaths()
Undocumented in source. Be warned that the author may not have intended to support it.
dubLink
Target dubLink()

Link a target taking into account the dub linker flags

dubObjects
Target[] dubObjects()

All dub object files for a configuration

dubPackageObjects
Target[] dubPackageObjects()

Object files from one dub package

dubPackageObjects
Target[] dubPackageObjects()

Object files from one dub package

dubTarget
Target dubTarget()
Undocumented in source. Be warned that the author may not have intended to support it.
dubTarget
Target dubTarget(TargetName targetName, DubInfo dubInfo, string compilerFlags, string[] linkerFlags, Flag!"main" includeMain, CompilationMode compilationMode, Target[] extraObjects, size_t startingIndex)
Undocumented in source. Be warned that the author may not have intended to support it.
dubTestTarget
Target dubTestTarget()

A target corresponding to dub test

dubTestTarget
Target dubTestTarget()

A target corresponding to dub test

Structs

DubPackageName
struct DubPackageName
Undocumented in source.

Meta