2010-03-09 03:32:27 +08:00
|
|
|
open Ocamlbuild_plugin;;
|
|
|
|
|
|
|
|
ocaml_lib ~extern:true "llvm";;
|
|
|
|
ocaml_lib ~extern:true "llvm_analysis";;
|
|
|
|
ocaml_lib ~extern:true "llvm_executionengine";;
|
|
|
|
ocaml_lib ~extern:true "llvm_target";;
|
|
|
|
ocaml_lib ~extern:true "llvm_scalar_opts";;
|
|
|
|
|
2010-03-22 07:15:13 +08:00
|
|
|
flag ["link"; "ocaml"; "g++"] (S[A"-cc"; A"g++"; A"-cclib"; A"-rdynamic"]);;
|
2010-03-09 03:32:27 +08:00
|
|
|
dep ["link"; "ocaml"; "use_bindings"] ["bindings.o"];;
|