Mercurial > hg > CbC > CbC_llvm
diff examples/OCaml-Kaleidoscope/Chapter7/myocamlbuild.ml @ 0:95c75e76d11b LLVM3.4
LLVM 3.4
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 12 Dec 2013 13:56:28 +0900 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/examples/OCaml-Kaleidoscope/Chapter7/myocamlbuild.ml Thu Dec 12 13:56:28 2013 +0900 @@ -0,0 +1,10 @@ +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";; + +flag ["link"; "ocaml"; "g++"] (S[A"-cc"; A"g++"; A"-cclib"; A"-rdynamic"]);; +dep ["link"; "ocaml"; "use_bindings"] ["bindings.o"];;