view bindings/ocaml/llvm/CMakeLists.txt @ 99:21681fa9647e

enable omit leaf function frame pointer
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Sun, 27 Dec 2015 21:59:05 +0900
parents 60c9769439b8
children 1172e4bd9c6f
line wrap: on
line source

add_ocaml_library(llvm
  OCAML llvm
  C     llvm_ocaml
  LLVM  core support)

configure_file(
  "${CMAKE_CURRENT_SOURCE_DIR}/META.llvm.in"
  "${LLVM_LIBRARY_DIR}/ocaml/META.llvm")

install(FILES "${LLVM_LIBRARY_DIR}/ocaml/META.llvm"
        DESTINATION lib/ocaml)