package ocamlbuild

  1. Overview
  2. Docs
type command_spec = Command.spec
type error =
  1. | Cannot_run_ocamlfind
  2. | Dependency_not_found of string * string
  3. | Package_not_found of string
  4. | Cannot_parse_query of string * string
exception Findlib_error of error
val string_of_error : error -> string
val report_error : error -> 'a
type package = {
  1. name : string;
  2. description : string;
  3. version : string;
  4. archives_byte : string;
  5. archives_native : string;
  6. location : string;
  7. dependencies : package list;
}
val query : string -> package
val list : unit -> string list
val topological_closure : package list -> package list
val include_flags : package list -> command_spec
val compile_flags_byte : package list -> command_spec
val compile_flags_native : package list -> command_spec