BuildGenerator

Undocumented in source.

Constructors

this
this(Project project)
Undocumented in source.

Members

Functions

generateTargets
void generateTargets(GeneratorSettings settings, TargetInfo[string] targets)
Undocumented in source. Be warned that the author may not have intended to support it.
performPostGenerateActions
void performPostGenerateActions(GeneratorSettings settings, TargetInfo[string] targets)
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

compileUnit
string compileUnit(string srcFile, string objName, BuildSettings bs, GeneratorSettings gs)

Compile a single source file (srcFile), and write the object to objName.

pathToObjName
deprecated string pathToObjName(BuildPlatform platform, string path)
string pathToObjName(BuildPlatform platform, string path, NativePath cwd)

Output an unique name to represent the source file. Calls with path that resolve to the same file on the filesystem will return the same, unless they include different symbolic links (which are not resolved).

Inherited Members

From ProjectGenerator

TargetInfo
struct TargetInfo

Information about a single binary target.

m_project
Project m_project;
Undocumented in source.
m_tempTargetExecutablePath
NativePath m_tempTargetExecutablePath;
Undocumented in source.
generate
void generate(GeneratorSettings settings)

Performs the full generator process.

generateTargets
void generateTargets(GeneratorSettings settings, TargetInfo[string] targets)

Overridden in derived classes to implement the actual generator functionality.

performPostGenerateActions
void performPostGenerateActions(GeneratorSettings settings, TargetInfo[string] targets)

Overridable method to be invoked after the generator process has finished.

Meta