Tom Stellard 2e97d2aa1b cmake: Add CLANG_LINK_CLANG_DYLIB option
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
2019-07-03 22:45:55 +00:00

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
)