forked from OSchip/llvm-project
35 lines
595 B
CMake
35 lines
595 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
support
|
|
BitstreamReader
|
|
)
|
|
|
|
get_filename_component(CLANG_DOC_SOURCE_DIR
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../../clang-doc REALPATH)
|
|
include_directories(
|
|
${CLANG_DOC_SOURCE_DIR}
|
|
)
|
|
|
|
add_extra_unittest(ClangDocTests
|
|
BitcodeTest.cpp
|
|
ClangDocTest.cpp
|
|
HTMLGeneratorTest.cpp
|
|
MDGeneratorTest.cpp
|
|
MergeTest.cpp
|
|
SerializeTest.cpp
|
|
YAMLGeneratorTest.cpp
|
|
)
|
|
|
|
target_link_libraries(ClangDocTests
|
|
PRIVATE
|
|
clangAST
|
|
clangASTMatchers
|
|
clangBasic
|
|
clangDoc
|
|
clangFormat
|
|
clangFrontend
|
|
clangRewrite
|
|
clangSerialization
|
|
clangTooling
|
|
clangToolingCore
|
|
)
|