mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-15 12:39:19 +00:00
2e97d2aa1b
Summary: Setting CLANG_LINK_CLANG_DYLIB=ON causes clang tools to link against libclang_shared.so instead of the individual component libraries. Reviewers: mgorny, beanz, smeenai, phosek, sylvestre.ledru Subscribers: arphaman, cfe-commits, llvm-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D63503 llvm-svn: 365092
19 lines
272 B
CMake
19 lines
272 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
BitReader
|
|
BitstreamReader
|
|
Support
|
|
)
|
|
|
|
add_clang_unittest(SerializationTests
|
|
InMemoryModuleCacheTest.cpp
|
|
)
|
|
|
|
clang_target_link_libraries(SerializationTests
|
|
PRIVATE
|
|
clangAST
|
|
clangBasic
|
|
clangLex
|
|
clangSema
|
|
clangSerialization
|
|
)
|