xref: /llvm-project/clang/lib/Tooling/CMakeLists.txt (revision a26ec542371652e1d774696e90016fd5b0b1c191)
1set(LLVM_LINK_COMPONENTS
2  Option
3  FrontendOpenMP
4  Support
5  TargetParser
6  )
7
8add_subdirectory(Core)
9add_subdirectory(Inclusions)
10add_subdirectory(Refactoring)
11add_subdirectory(ASTDiff)
12add_subdirectory(Syntax)
13add_subdirectory(DependencyScanning)
14add_subdirectory(Transformer)
15
16add_clang_library(clangTooling
17  AllTUsExecution.cpp
18  ArgumentsAdjusters.cpp
19  CommonOptionsParser.cpp
20  CompilationDatabase.cpp
21  Execution.cpp
22  ExpandResponseFilesCompilationDatabase.cpp
23  FileMatchTrie.cpp
24  FixIt.cpp
25  GuessTargetAndModeCompilationDatabase.cpp
26  InterpolatingCompilationDatabase.cpp
27  JSONCompilationDatabase.cpp
28  LocateToolCompilationDatabase.cpp
29  Refactoring.cpp
30  RefactoringCallbacks.cpp
31  StandaloneExecution.cpp
32  Tooling.cpp
33
34  DEPENDS
35  ClangDriverOptions
36  omp_gen
37
38  LINK_LIBS
39  clangAST
40  clangASTMatchers
41  clangBasic
42  clangDriver
43  clangFormat
44  clangFrontend
45  clangLex
46  clangRewrite
47  clangSerialization
48  clangToolingCore
49  ${LLVM_PTHREAD_LIB}
50  )
51