[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / tools / remarks-shlib / CMakeLists.txt
blobe948496c603a0ad56f8d62d487ca7bb19ea55d9d
1 set(LLVM_LINK_COMPONENTS
2   Remarks
3   )
5 set(SOURCES
6   libremarks.cpp
7   )
9 set(LLVM_EXPORTED_SYMBOL_FILE ${CMAKE_CURRENT_SOURCE_DIR}/Remarks.exports)
11 add_llvm_library(Remarks SHARED INSTALL_WITH_TOOLCHAIN ${SOURCES})
13 install(FILES ${LLVM_MAIN_INCLUDE_DIR}/llvm-c/Remarks.h
14   DESTINATION include/llvm-c
15   COMPONENT Remarks)
17 if (APPLE)
18   set(REMARKS_VERSION ${LLVM_VERSION_MAJOR})
19   set_property(TARGET Remarks APPEND_STRING PROPERTY
20               LINK_FLAGS
21               " -compatibility_version 1 -current_version ${REMARKS_VERSION}.${LLVM_VERSION_MINOR}.${LLVM_VERSION_PATCH}")
22 endif()