dub.generators.generator

Generator for project files

Members

Classes

ProjectGenerator
class ProjectGenerator

Common interface for project generators/builders.

Enums

BuildMode
enum BuildMode

Determines the mode in which the compiler and linker are invoked.

Functions

createProjectGenerator
ProjectGenerator createProjectGenerator(string generator_type, Project project)

Creates a project generator of the given type for the specified project.

findFilesMatchingGlobs
void findFilesMatchingGlobs(NativePath path, string[] globList, void delegate(string file) addFile, void delegate(string dir) addDir)

Calls delegates on files and directories in the given path that match any globs.

findFilesMatchingGlobs
void findFilesMatchingGlobs(NativePath path, string[] globList, void delegate(string file) addFile)

Calls delegates on files in the given path that match any globs.

runBuildCommands
void runBuildCommands(string[] commands, Package pack, Project proj, GeneratorSettings settings, BuildSettings build_settings, string[string][] extraVars)

Runs a list of build commands for a particular package.

Structs

GeneratorSettings
struct GeneratorSettings
Undocumented in source.

Meta

License

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

Authors

Matthias Dondorff