Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (8 sloc) 252 Bytes
open Ocamlbuild_plugin
let path_to_pp = "../../pp.cmo"
let _ = dispatch begin function
| After_rules ->
flag ["ocamldep"; "custom-pp"] (S[A"-ppopt";A path_to_pp]);
flag ["compile"; "custom-pp"] (S[A"-ppopt";A path_to_pp]);
| _ -> ()
end