An external library -- its package plus its configuration.
- pkg : Lake.Package
The package the library belongs to.
- name : Lake.Name
The external library's name.
- config : Lake.ExternLibConfig self.pkg.name self.name
The library's user-defined configuration.
Instances For
@[inline]
The external libraries of the package (as an Array).
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[inline]
Try to find a external library in the package with the given name.
Equations
- Lake.Package.findExternLib? name self = Option.map (fun (x : Lake.ExternLibConfig self.name name) => { pkg := self, name := name, config := x }) (Lake.DRBMap.find? self.externLibConfigs name)
Instances For
@[inline]
The arguments to pass to leanc
when linking the external library.
That is, the package's moreLinkArgs
.
Equations
- self.linkArgs = self.pkg.moreLinkArgs
Instances For
@[inline]
The name of the package target used to build the external library's static binary.
Equations
- self.staticTargetName = self.name.str "static"