Up

module As_resolver

: sig

Internal and external name resolvers.

A project defines different kinds of names: local and external library names. A local library name needs to be associated with the name of the local directory where the build artifacts for that library are created and an external library name needs to be associated with the global directory where the object files for that library are installed.

#
type t

The type for internal and external name resolvers.

#
type maker = ?ocamlc:string -> ?ocamlopt:string -> ?ocamldep:string -> ?ocamlmklib:string -> ?ocamldoc:string -> ?preprocessor:string option -> ?ln:string -> ?mkdir:string -> ?js_of_ocaml:string -> ?build_dir:string -> ?lib_dir:string -> ?root_dir:string -> ?pkgs:(string list -> As_flags.t) -> unit -> t
#
val create : maker
#
val ocamlc : t -> string
#
val ocamlopt : t -> string
#
val ocamldep : t -> string
#
val ocamlmklib : t -> string
#
val ocamldoc : t -> string
#
val preprocessor : t -> string option
#
val js_of_ocaml : t -> string
#
val mkdir : t -> string
#
val ln : t -> string
#
val build_dir : t -> string
#
val lib_dir : t -> string
#
val root_dir : t -> string
#
val pkgs : t -> string list -> As_flags.t
end