A Lean library -- its package plus its configuration.
Instances For
The Lean libraries of the package (as an Array).
Instances For
The library's user-defined configuration.
Instances For
Whether the given module is considered local to the library.
Instances For
Whether the given module is a buildable part of the library.
Instances For
Whether this library's native binaries should be prefixed with lib on Windows.
Instances For
The name of the native library (e.g., what is passed to -l).
Instances For
The file name of the library's static binary (i.e., its .a)
Instances For
The path to the static library in the package's libDir.
Instances For
The path to the static library (with exported symbols) in the package's libDir.
Instances For
Whether the shared binary of this library is a valid plugin.
Instances For
Whether to precompile the library's modules.
Is true if either the package or the library have precompileModules set.
Instances For
Whether to the library's Lean code is platform-independent.
Returns the library's platformIndependent configuration if non-none.
Otherwise, falls back to the package's.
Instances For
The library's nativeFacets configuration.
Instances For
The arguments to pass to lean --server when running the Lean language server.
serverOptions is the accumulation of:
- the build type's
leanOptions - the package's
leanOptions - the package's
moreServerOptions - the library's
leanOptions - the library's
moreServerOptions
Instances For
The backend type for modules of this library.
Prefer the library's backend configuration, then the package's,
then the default (which is C for now).
Instances For
Whether downstream packages can import all modules of this library.
Enabled if either the library or the package enables it.
Instances For
The dynamic libraries to load for modules of this library. The targets of the package plus the targets of the library (in that order).
Instances For
The Lean plugins for modules of this library. The targets of the package plus the targets of the library (in that order).
Instances For
The arguments to pass to lean when compiling the library's Lean files.
leanArgs is the accumulation of:
- the build type's
leanOptions - the package's
leanOptions - the library's
leanOptions
Instances For
The arguments to weakly pass to lean when compiling the library's Lean files.
That is, the package's weakLeanArgs plus the library's weakLeanArgs.
Instances For
The arguments to weakly pass to leanc when compiling the library's Lean-produced C files.
That is, the package's weakLeancArgs plus the library's weakLeancArgs.
Instances For
Additionl target objects to pass to ar when linking the static library.
That is, the package's moreLinkObjs plus the library's moreLinkObjs.
Instances For
The arguments to pass to leanc when linking the shared library.
That is, the package's moreLinkArgs plus the library's moreLinkArgs.
Instances For
The arguments to weakly pass to leanc when linking the shared library.
That is, the package's weakLinkArgs plus the library's weakLinkArgs.