[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang-tools-extra / unittests / clang-doc / CMakeLists.txt
blob043d68f5a1dcb0ad47c1288e5f79fa29cbf72342
1 set(LLVM_LINK_COMPONENTS
2   support
3   BitstreamReader
4   FrontendOpenMP
5   )
7 get_filename_component(CLANG_DOC_SOURCE_DIR
8   ${CMAKE_CURRENT_SOURCE_DIR}/../../clang-doc REALPATH)
9 include_directories(
10   ${CLANG_DOC_SOURCE_DIR}
11   )
13 add_extra_unittest(ClangDocTests
14   BitcodeTest.cpp
15   ClangDocTest.cpp
16   GeneratorTest.cpp
17   HTMLGeneratorTest.cpp
18   MDGeneratorTest.cpp
19   MergeTest.cpp
20   SerializeTest.cpp
21   YAMLGeneratorTest.cpp
22   )
24 clang_target_link_libraries(ClangDocTests
25   PRIVATE
26   clangAST
27   clangASTMatchers
28   clangBasic
29   clangFormat
30   clangFrontend
31   clangRewrite
32   clangSerialization
33   clangTooling
34   clangToolingCore
35   )
36 target_link_libraries(ClangDocTests
37   PRIVATE
38   clangDoc
39   )