reggae.rules.common

Undocumented in source.

Members

Enums

Language
enum Language
Undocumented in source.

Functions

compileCommand
Command compileCommand(string srcFileName, string flags, string[] includePaths, string[] stringImportPaths, string projDir)
Undocumented in source. Be warned that the author may not have intended to support it.
getLanguage
Language getLanguage(string srcFileName)
Undocumented in source. Be warned that the author may not have intended to support it.
link
Target link(string exeName, Target[] dependencies, string flags)

Should pull its weight more in the future by automatically figuring out what to do. Right now only works for linking D applications using the configured D compiler

objFileName
string objFileName(string srcFileName)
Undocumented in source. Be warned that the author may not have intended to support it.
objectFile
Target objectFile(string srcFileName, string flags, string[] includePaths, string[] stringImportPaths, string projDir)

An object file, typically from one source file in a certain language (although for D the default is a whole package. The language is determined by the file extension of the file(s) passed in.

removeProjectPath
string removeProjectPath(string path)
Undocumented in source. Be warned that the author may not have intended to support it.
targetsFromSources
Target[] targetsFromSources()

This template function exists so as to be referenced in a reggaefile.d at top-level without being called via alias. That way it can be named and used in a further Target definition without the need to define a function returning Build. This function gets the source files to be compiled at runtime by searching for source files in the given directories, adding files and filtering as appropriate by the parameters given in sources, its first compile-time parameter. The other parameters are self-explanatory.

Variables

exeExt
auto exeExt;
Undocumented in source.
exeExt
auto exeExt;
Undocumented in source.
objExt
auto objExt;
Undocumented in source.
objExt
auto objExt;
Undocumented in source.

Meta