View source code
Display the source code in dmd/glue.d from which thispage was generated on github.
Report a bug
If you spot a problem with this page, click here to create aBugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.Requires a signed-in GitHub account. This works well for small changes.If you'd like to make larger changes you may want to consider usinglocal clone.
Function dmd.glue.generateCodeAndWrite
Generate code for modules
and write objects/libraries
void generateCodeAndWrite(
Module[] modules,
const(char)*[] libmodules,
const(char)[] libname,
const(char)[] objdir,
bool writeLibrary,
bool obj,
bool oneobj,
bool multiobj,
bool verbose
);
Parameters
Name | Description |
---|---|
modules | array of Module s to generate code for |
libmodules | array of objects/libraries already generated (passed on command line) |
libname | {.lib,.a} file output name |
objdir | directory to write object files to |
writeLibrary | write library file instead of object file(s) |
obj | generate object files |
oneobj | write one object file instead of multiple ones |
multiobj | break one object file into multiple ones |
verbose | print progress message when generatig code |
Authors
License
Copyright © 1999-2025 by the D Language Foundation | Page generated by ddox.