package b0
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha512=e9aa779e66c08fc763019f16d4706f465d16c05d6400b58fbd0313317ef33ddea51952e2b058db28e65f7ddb7012f328c8bf02d8f1da17bb543348541a2587f0
doc/b0.file/B0_ocaml/Libresolver/index.html
Module B0_ocaml.Libresolver
Source
Library resolvers.
Resolvers
The type for library resolvers.
make m ocaml_conf scopes
is a library resolver looking for libraries in the given scopes
, in order. ocaml_conf
is the toolchain configuration. m
gets marked by ocamlib
.
Store key
default store memo
determines a default library resolver for key
. It uses the Conf.key
in store
and uses a Scope.build
with the build found in the store via B0_build.self
followed by an Scope.ocamlfind
in memo and a cache in the directory of the build.
Properties
lookups r
are the lookups performed in r
so far.
Lookup
find m r libname
finds library libname
in r
. m
is used to report notifications.
get m r libname
gets library libname
in r
. The memo of r
fails if the library cannot be found. m
is used to report notication or failure.
get_list r libnames
looks up libraries libnames
in r
and the libraries they B0_ocaml.exports
. Libraries are returned in the given order and the memo of r
fails if a library cannot be found.