From 7b86e3251a28406862fe16d49f8533beb8ca3150 Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Sun, 28 Jul 2024 00:10:00 +1000 Subject: start on ocaml bindings --- bindgen/ocaml/bindings/dune | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 bindgen/ocaml/bindings/dune (limited to 'bindgen/ocaml/bindings/dune') diff --git a/bindgen/ocaml/bindings/dune b/bindgen/ocaml/bindings/dune new file mode 100644 index 0000000..673491d --- /dev/null +++ b/bindgen/ocaml/bindings/dune @@ -0,0 +1,13 @@ +(library + (name bindings) + (libraries bindgen)) + +(rule + (alias gen_bindings) + (deps celeritas.h) + (targets bindings_sys.ml caml_bindings.c) + (action + (run + %{bin:ocaml-bindgen} celeritas.h bindings) + ) + (mode (promote (until-clean)))) \ No newline at end of file -- cgit v1.2.3-70-g09d2