Builder.buildLibrary

Builds a static or dynamic library with Zig build-lib.

class Builder
@trusted
int
buildLibrary
(
string libpath
,
bool isShared = false
)

Parameters

libpath string

Output file path.

isShared bool

Build a dynamic library if true, static if false.

Return Value

Type: int

Exit status (0 for success).

Meta