mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-08 21:32:39 +00:00
This way most code won't link this (substantially large) library, if compiled statically with LLVM. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223072 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
284 B
CMake
12 lines
284 B
CMake
add_ocaml_library(llvm
|
|
OCAML llvm
|
|
C llvm_ocaml
|
|
LLVM core support)
|
|
|
|
configure_file(
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/META.llvm.in"
|
|
"${LLVM_LIBRARY_OUTPUT_INTDIR}/ocaml/META.llvm")
|
|
|
|
install(FILES "${LLVM_LIBRARY_OUTPUT_INTDIR}/ocaml/META.llvm"
|
|
DESTINATION lib/ocaml)
|