2018-10-17 07:06:42 +08:00
|
|
|
set(LLVM_LINK_COMPONENTS
|
|
|
|
support
|
2019-07-04 06:40:07 +08:00
|
|
|
BitstreamReader
|
2020-04-08 00:26:40 +08:00
|
|
|
FrontendOpenMP
|
2018-10-17 07:06:42 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
get_filename_component(CLANG_DOC_SOURCE_DIR
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../../clang-doc REALPATH)
|
|
|
|
include_directories(
|
|
|
|
${CLANG_DOC_SOURCE_DIR}
|
|
|
|
)
|
|
|
|
|
|
|
|
add_extra_unittest(ClangDocTests
|
2018-10-17 07:06:53 +08:00
|
|
|
BitcodeTest.cpp
|
2018-10-17 07:06:42 +08:00
|
|
|
ClangDocTest.cpp
|
2019-08-07 02:31:46 +08:00
|
|
|
GeneratorTest.cpp
|
2019-07-11 03:03:25 +08:00
|
|
|
HTMLGeneratorTest.cpp
|
2018-10-17 07:07:26 +08:00
|
|
|
MDGeneratorTest.cpp
|
2018-10-17 07:07:04 +08:00
|
|
|
MergeTest.cpp
|
2018-10-17 07:06:42 +08:00
|
|
|
SerializeTest.cpp
|
2018-10-17 07:07:16 +08:00
|
|
|
YAMLGeneratorTest.cpp
|
2018-10-17 07:06:42 +08:00
|
|
|
)
|
|
|
|
|
2019-10-05 04:30:02 +08:00
|
|
|
clang_target_link_libraries(ClangDocTests
|
2018-10-17 07:06:42 +08:00
|
|
|
PRIVATE
|
|
|
|
clangAST
|
|
|
|
clangASTMatchers
|
|
|
|
clangBasic
|
|
|
|
clangFormat
|
|
|
|
clangFrontend
|
|
|
|
clangRewrite
|
2018-12-12 16:25:16 +08:00
|
|
|
clangSerialization
|
2018-10-17 07:06:42 +08:00
|
|
|
clangTooling
|
|
|
|
clangToolingCore
|
|
|
|
)
|
2019-10-05 04:30:02 +08:00
|
|
|
target_link_libraries(ClangDocTests
|
|
|
|
PRIVATE
|
|
|
|
clangDoc
|
|
|
|
)
|