mirror of
https://gitlab.com/scemama/qmcchem.git
synced 2024-11-07 06:33:38 +01:00
14 lines
258 B
OCaml
14 lines
258 B
OCaml
open Ocamlbuild_plugin;;
|
|
|
|
dispatch begin function
|
|
| Before_rules ->
|
|
begin
|
|
end
|
|
| After_rules ->
|
|
begin
|
|
flag ["ocaml";"compile";"native";"gprof"] (S [ A "-p"]);
|
|
pdep ["link"] "linkdep" (fun param -> [param]);
|
|
end
|
|
| _ -> ()
|
|
end
|