A user-configured target -- its package and its configuration.
This is the general structure from which LeanLib, LeanExe, etc. are derived.
- pkg : Package
The package the target belongs to.
- name : Lean.Name
The target's name.
- config : ConfigType kind self.pkg.keyName self.name
The target's user-defined configuration.
Instances For
@[instance_reducible]
@[simp]
@[inline]
def Lake.PConfigDecl.mkConfigTarget (pkg : Package) (self : PConfigDecl pkg.keyName) :
ConfigTarget self.kind
Instances For
@[inline]
def Lake.Package.findConfigTarget? (kind name : Lean.Name) (self : Package) :
Option (ConfigTarget kind)
Try to find a package target of the given name and kind.