createModule

Creates the module based on the file provided

The file is dispatched in one of the various arrays (global.params.{ddocfiles,dllfiles,jsonfiles,etc...}) according to its extension. If it is a binary file, it is added to libmodules.

createModule
(
const(char)* file
,
ref Strings libmodules
)

Parameters

file const(char)*

File name to dispatch

libmodules Strings

Array to which binaries (shared/static libs and object files) will be appended

Return Value

Type: Module

A D module

Suggestion Box / Bug Report