summaryrefslogtreecommitdiff
path: root/bindings/ocaml/all_backends
diff options
context:
space:
mode:
authorPeter Zotov <whitequark@whitequark.org>2014-12-01 19:50:23 +0000
committerPeter Zotov <whitequark@whitequark.org>2014-12-01 19:50:23 +0000
commita0a26f222bb4ac0b6cf52fd4bbce6f2ad63a4321 (patch)
tree195b343c8e54a2cff0bcc1de853ed9adca9ebb30 /bindings/ocaml/all_backends
parentf97b79e09e1cbefe1934f8f9fa43ed77cd9b363a (diff)
[OCaml] [cmake] Add CMake buildsystem for OCaml.
Closes PR15325. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223071 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'bindings/ocaml/all_backends')
-rw-r--r--bindings/ocaml/all_backends/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/bindings/ocaml/all_backends/CMakeLists.txt b/bindings/ocaml/all_backends/CMakeLists.txt
new file mode 100644
index 00000000000..716a49cc328
--- /dev/null
+++ b/bindings/ocaml/all_backends/CMakeLists.txt
@@ -0,0 +1,5 @@
+add_ocaml_library(llvm_all_backends
+ OCAML llvm_all_backends
+ OCAMLDEP llvm
+ C all_backends_ocaml
+ LLVM ${LLVM_TARGETS_TO_BUILD})