ocamlbuild plugin for atdgen
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example
lib
.gitignore
.merlin
LICENSE
META
Makefile
README.md
_tags
opam

README.md

Ocamlbuild plugin for atdgen

This plugin is simply an extraction of the original plugin from Hcarty's ocamlbuild plugins repository and originally authored by Daniel Weil. The point of this extraction is to make the plugin available through opam and findlib to make it easier to use.

Usage

After installing the plugin (from opam or otherwise). You should edit your myocamlbuild.ml to look like:

let _ = Ocamlbuild_plugin.dispatch Ocamlbuild_atdgen.dispatcher

Then you must invoke ocamlbuild like this:

$ ocamlbuild -use-ocamlfind -plugin-tag "package(ocamlbuild_atdgen)" target.native

There's also a complete example project in example/