- executable
Target executable()
Currently only works for D. This convenience rule builds a D executable, 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 executable without having define a function in reggaefile.d,
i.e.:
alias myApp = executable!(...);
mixin build!(myApp);
vs.
Build myBuld() { return executable(..); }
- executable
Target executable(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.
- objectFiles
Target[] objectFiles(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.
- objectFilesPerModule
Target[] objectFilesPerModule(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.
- objectFilesPerPackage
Target[] objectFilesPerPackage(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.
High-level rules for compiling D files. For a D-only application with no dub dependencies, executable should suffice. If the app depends on dub packages, consult the reggae.rules.dub module instead.