src/ocaml_optcomp/dune
raw| 1 | (library |
| 2 | (name ocaml_optcomp) |
| 3 | (public_name ocaml-compiler-libs.optcomp) |
| 4 | (flags :standard -safe-string) |
| 5 | (optional) |
| 6 | (libraries compiler-libs.optcomp) |
| 7 | (preprocess no_preprocessing)) |
| 8 | |
| 9 | (rule |
| 10 | (targets ocaml_optcomp.ml) |
| 11 | (deps |
| 12 | (:first_dep ../gen/gen.exe)) |
| 13 | (action |
| 14 | (run %{first_dep} -archive %{ocaml_where}/compiler-libs/ocamloptcomp.cma -o |
| 15 | %{targets}))) |