Reland "[clang-doc] Setup clang-doc frontend framework"
[lldb.git] / clang-tools-extra / clang-doc / CMakeLists.txt
1 set(LLVM_LINK_COMPONENTS
2   support
3   )
4
5 add_clang_library(clangDoc
6   BitcodeWriter.cpp
7   ClangDoc.cpp
8   Mapper.cpp
9   Serialize.cpp
10
11   LINK_LIBS
12   clangAnalysis
13   clangAST
14   clangASTMatchers
15   clangBasic
16   clangFrontend
17   clangIndex
18   clangLex
19   clangTooling
20   clangToolingCore
21   )
22
23 add_subdirectory(tool)