objectFiles

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.

This function returns a list of targets that are the result of compiling source files written in the supported languages. The $(Sources) function can be used to specify source directories and source files, as well as a filter function to select those files that are actually wanted.

Meta