Skip to content

Commit

Permalink
Add CMakeLists.txt to src/coredistools
Browse files Browse the repository at this point in the history
  • Loading branch information
echesakov committed Sep 16, 2020
1 parent 1d4245e commit b6e1253
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/coredistools/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
project(coredistools)

set(LLVM_LINK_COMPONENTS
AllTargetsAsmPrinters
AllTargetsAsmParsers
AllTargetsDescs
AllTargetsDisassemblers
AllTargetsInfos
MC
Support)

set(SOURCES coredistools.cpp)

set(LLVM_EXPORTED_SYMBOL_FILE ${CMAKE_CURRENT_SOURCE_DIR}/coredistools.exports)

include_directories(${CMAKE_CURRENT_SOURCE_DIR})

add_llvm_library(coredistools SHARED ${SOURCES} DEPENDS intrinsics_gen)

install(TARGETS coredistools LIBRARY DESTINATION bin COMPONENT coredistools
ARCHIVE DESTINATION lib COMPONENT coredistools)

0 comments on commit b6e1253

Please sign in to comment.