Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Ocamlbuild_pkg.PkgA module name (case sensitive corresponding to the file's case) without extension. i.e. a/path/module, module or some/upper/case/Module.
module Lib : sig ... endmodule Bin : sig ... endval create :
name:string ->
?libs:Lib.t list ->
?bins:Bin.t list ->
?files:Install.dir list ->
unit ->
tcreate ~name ?libs ?bins ?files () describes a package to be compiled and installed.
val dispatcher : t -> Ocamlbuild_plugin.hook -> unitdispatcher pkg hook creates everything that is needed for installing your package:
libs.name.install to be used with opam (or opam-install). files contains additional files to be installed. And also building the package:libs. To unable this function and to actually build the package, it is also required to call ocamlbuild with the package name as argument. For instance: ocamalbuild -use-ocamlfind -plugin-tag "package(ocamlbuild-pkg)" your-pkg-name