link

"Compile-time" link function. Its parameters are compile-time so that it can be aliased and used at global scope in a reggafile. Links an executable from the given dependency targets. The linker used depends on the file extension of the leaf nodes of the passed-in targets. If any D files are found, the linker is the D compiler, and so on with C++ and C. If none of those apply, the D compiler is used.

Meta