Units
val exe : ?doc:string -> ?meta:B0_meta.t -> ?requires:B00_ocaml.Lib_name.t list -> ?name:string -> string -> srcs:B0_srcs.t -> B0_unit.texe n is a build unit for an executable named n.
docis the unit doc string.metais the initial metadata.requiresare the OCaml libraries required to compile the executable.nameis the name of the unit (defaults ton).srcsare the executable sources. All files with extension.ml,.mli,.cand.hare considered for compiling and linking the executable.
val lib : ?doc:string -> ?meta:B0_meta.t -> ?requires:B00_ocaml.Lib_name.t list -> ?name:string -> B00_ocaml.Lib_name.t -> srcs:B0_srcs.t -> B0_unit.tlib n is a built unit for a library named l.
docis the unit doc string.metais the initial metadata.requiresare the OCaml libraries required to compile the library.nameis the name of the build unit (default tonwith.substituted by-)srcsare the library sources. extension.ml,.mli,.cand.hare considered for compiling and linking the executable.