BuildGenerator

Undocumented in source.

Constructors

this
this(Project project)
Undocumented in source.

Members

Functions

buildWithCompiler
void buildWithCompiler(GeneratorSettings settings, BuildSettings buildsettings)
Undocumented in source. Be warned that the author may not have intended to support it.
cleanupTemporaries
void cleanupTemporaries()
Undocumented in source. Be warned that the author may not have intended to support it.
generateTargets
void generateTargets(GeneratorSettings settings, TargetInfo[string] targets)
Undocumented in source. Be warned that the author may not have intended to support it.
performCachedBuild
bool performCachedBuild(GeneratorSettings settings, BuildSettings buildsettings, Package pack, string config, string build_id, Package[] packages, Path[] additional_dep_files)
Undocumented in source. Be warned that the author may not have intended to support it.
performDirectBuild
void performDirectBuild(GeneratorSettings settings, BuildSettings buildsettings, Package pack, string config)
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.
performRDMDBuild
void performRDMDBuild(GeneratorSettings settings, BuildSettings buildsettings, Package pack, string config)
Undocumented in source. Be warned that the author may not have intended to support it.
runTarget
void runTarget(Path exe_file_path, BuildSettings buildsettings, string[] run_args, GeneratorSettings settings)
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
string pathToObjName(string path)

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