ocaml-ctypes
ocaml-ctypes copied to clipboard
ocamlbuild plugin
A suggestion of @avsm's from the mailing list:
Creating a standard ocamlbuild plugin would be useful given the recent addition of -plugin-tags to ocamlbuild.
Eliom uses this quite nicely here: https://ocsigen.org/eliom/manual/workflow-compilation#h5o-3
to let this work:
ocamlbuild -use-ocamlfind -plugin-tags "package(eliom.ocamlbuild)" \ yourlib.cma yourlib.cmxa yourlib.cmxs yourexecutable.jsA similar ctypes.ocamlbuild could also take additional _tags to control the various build options perhaps.
Eliom source: https://github.com/ocsigen/eliom/tree/master/src/ocamlbuild
The ctypes-build package provides some preliminary ocamlbuild support.