reggae.rules.d

High-level rules for compiling D files. For a D-only application with no dub dependencies, scriptlike should suffice. If the app depends on dub packages, consult the reggae.rules.dub module instead.

Members

Functions

dlangPackageObjectFiles
Target[] dlangPackageObjectFiles(string[] srcFiles, string flags, string[] importPaths, string[] stringImportPaths, string projDir)
Undocumented in source. Be warned that the author may not have intended to support it.
dlangPackageObjectFilesPerModule
Target[] dlangPackageObjectFilesPerModule(string[] srcFiles, string flags, string[] importPaths, string[] stringImportPaths, string projDir)
Undocumented in source. Be warned that the author may not have intended to support it.
dlangPackageObjectFilesPerPackage
Target[] dlangPackageObjectFilesPerPackage(string[] srcFiles, string flags, string[] importPaths, string[] stringImportPaths, string projDir)
Undocumented in source. Be warned that the author may not have intended to support it.
dlangPackageObjectFilesTogether
Target[] dlangPackageObjectFilesTogether(string[] srcFiles, string flags, string[] importPaths, string[] stringImportPaths, string projDir)
Undocumented in source. Be warned that the author may not have intended to support it.
scriptlike
Target scriptlike()

Currently only works for D. This convenience rule builds a D scriptlike, automatically calculating which files must be compiled in a similar way to rdmd. All paths are relative to projectPath. This template function is provided as a wrapper around the regular runtime version below so it can be aliased without trying to call it at runtime. Basically, it's a way to use the runtime scriptlike without having define a function in reggaefile.d, i.e.: alias myApp = scriptlike!(...); mixin build!(myApp); vs. Build myBuld() { return scriptlike(..); }

scriptlike
Target scriptlike(string projectPath, App app, Flags flags, ImportPaths importPaths, StringImportPaths stringImportPaths, Target[] linkWith)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta