File: myocamlbuild.ml

package info (click to toggle)
ulex 1.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 220 kB
  • sloc: ml: 1,191; makefile: 123
file content (9 lines) | stat: -rw-r--r-- 272 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
open Ocamlbuild_plugin;;
open Command;;
dispatch begin function
| After_rules ->
    flag ["ocaml"; "pp"; "use_ulex"] (S[A"camlp4o"; A"pa_ulex.cma"]);
    dep ["ocaml"; "ocamldep"; "use_ulex"] ["pa_ulex.cma"];
    ocaml_lib ~tag_name:"use_ulex" "ulexing";
| _ -> ()
end;;