diff options
| author | Peter Zotov <whitequark@whitequark.org> | 2014-12-01 19:50:23 +0000 |
|---|---|---|
| committer | Peter Zotov <whitequark@whitequark.org> | 2014-12-01 19:50:23 +0000 |
| commit | b20073c63ca7cd4c2f73f469bf7793ba0678fb07 (patch) | |
| tree | 3e15f61640de20fddc991b53b336c4f831197289 /llvm/bindings/ocaml/transforms | |
| parent | 57148cbcbdad689080c2db7681b0e2bfc952d3d8 (diff) | |
| download | bcm5719-llvm-b20073c63ca7cd4c2f73f469bf7793ba0678fb07.tar.gz bcm5719-llvm-b20073c63ca7cd4c2f73f469bf7793ba0678fb07.zip | |
[OCaml] [cmake] Add CMake buildsystem for OCaml.
Closes PR15325.
llvm-svn: 223071
Diffstat (limited to 'llvm/bindings/ocaml/transforms')
5 files changed, 24 insertions, 0 deletions
diff --git a/llvm/bindings/ocaml/transforms/CMakeLists.txt b/llvm/bindings/ocaml/transforms/CMakeLists.txt new file mode 100644 index 00000000000..8693ffb6ae2 --- /dev/null +++ b/llvm/bindings/ocaml/transforms/CMakeLists.txt @@ -0,0 +1,4 @@ +add_subdirectory(ipo) +add_subdirectory(passmgr_builder) +add_subdirectory(scalar_opts) +add_subdirectory(vectorize) diff --git a/llvm/bindings/ocaml/transforms/ipo/CMakeLists.txt b/llvm/bindings/ocaml/transforms/ipo/CMakeLists.txt new file mode 100644 index 00000000000..4b8784fad67 --- /dev/null +++ b/llvm/bindings/ocaml/transforms/ipo/CMakeLists.txt @@ -0,0 +1,5 @@ +add_ocaml_library(llvm_ipo + OCAML llvm_ipo + OCAMLDEP llvm + C ipo_ocaml + LLVM ipo) diff --git a/llvm/bindings/ocaml/transforms/passmgr_builder/CMakeLists.txt b/llvm/bindings/ocaml/transforms/passmgr_builder/CMakeLists.txt new file mode 100644 index 00000000000..b012863d8ec --- /dev/null +++ b/llvm/bindings/ocaml/transforms/passmgr_builder/CMakeLists.txt @@ -0,0 +1,5 @@ +add_ocaml_library(llvm_passmgr_builder + OCAML llvm_passmgr_builder + OCAMLDEP llvm + C passmgr_builder_ocaml + LLVM ipo) diff --git a/llvm/bindings/ocaml/transforms/scalar_opts/CMakeLists.txt b/llvm/bindings/ocaml/transforms/scalar_opts/CMakeLists.txt new file mode 100644 index 00000000000..98c7c6861d2 --- /dev/null +++ b/llvm/bindings/ocaml/transforms/scalar_opts/CMakeLists.txt @@ -0,0 +1,5 @@ +add_ocaml_library(llvm_scalar_opts + OCAML llvm_scalar_opts + OCAMLDEP llvm + C scalar_opts_ocaml + LLVM scalaropts) diff --git a/llvm/bindings/ocaml/transforms/vectorize/CMakeLists.txt b/llvm/bindings/ocaml/transforms/vectorize/CMakeLists.txt new file mode 100644 index 00000000000..af0ffce563f --- /dev/null +++ b/llvm/bindings/ocaml/transforms/vectorize/CMakeLists.txt @@ -0,0 +1,5 @@ +add_ocaml_library(llvm_vectorize + OCAML llvm_vectorize + OCAMLDEP llvm + C vectorize_ocaml + LLVM vectorize) |

