[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / unittests / Tooling / CMakeLists.txt
blobdfc1f59cf0a833c6c55580f39067a9c1cd4eaa5a
1 set(LLVM_LINK_COMPONENTS
2   ${LLVM_TARGETS_TO_BUILD}
3   MC
4   Option
5   FrontendOpenMP
6   Support
7   )
10 add_clang_unittest(ToolingTests
11   ASTSelectionTest.cpp
12   CastExprTest.cpp
13   CommentHandlerTest.cpp
14   CompilationDatabaseTest.cpp
15   DependencyScannerTest.cpp
16   DiagnosticsYamlTest.cpp
17   ExecutionTest.cpp
18   FixItTest.cpp
19   HeaderIncludesTest.cpp
20   StandardLibraryTest.cpp
21   LexicallyOrderedRecursiveASTVisitorTest.cpp
22   LookupTest.cpp
23   QualTypeNamesTest.cpp
24   RangeSelectorTest.cpp
25   RecursiveASTVisitorTests/Attr.cpp
26   RecursiveASTVisitorTests/CallbacksLeaf.cpp
27   RecursiveASTVisitorTests/CallbacksUnaryOperator.cpp
28   RecursiveASTVisitorTests/CallbacksBinaryOperator.cpp
29   RecursiveASTVisitorTests/CallbacksCompoundAssignOperator.cpp
30   RecursiveASTVisitorTests/CallbacksCallExpr.cpp
31   RecursiveASTVisitorTests/Class.cpp
32   RecursiveASTVisitorTests/Concept.cpp
33   RecursiveASTVisitorTests/ConstructExpr.cpp
34   RecursiveASTVisitorTests/CXXBoolLiteralExpr.cpp
35   RecursiveASTVisitorTests/CXXMemberCall.cpp
36   RecursiveASTVisitorTests/CXXMethodDecl.cpp
37   RecursiveASTVisitorTests/CXXOperatorCallExprTraverser.cpp
38   RecursiveASTVisitorTests/DeclRefExpr.cpp
39   RecursiveASTVisitorTests/ImplicitCtor.cpp
40   RecursiveASTVisitorTests/ImplicitCtorInitializer.cpp
41   RecursiveASTVisitorTests/InitListExprPostOrder.cpp
42   RecursiveASTVisitorTests/InitListExprPostOrderNoQueue.cpp
43   RecursiveASTVisitorTests/InitListExprPreOrder.cpp
44   RecursiveASTVisitorTests/InitListExprPreOrderNoQueue.cpp
45   RecursiveASTVisitorTests/IntegerLiteral.cpp
46   RecursiveASTVisitorTests/LambdaDefaultCapture.cpp
47   RecursiveASTVisitorTests/LambdaExpr.cpp
48   RecursiveASTVisitorTests/LambdaTemplateParams.cpp
49   RecursiveASTVisitorTests/MemberPointerTypeLoc.cpp
50   RecursiveASTVisitorTests/NestedNameSpecifiers.cpp
51   RecursiveASTVisitorTests/ParenExpr.cpp
52   RecursiveASTVisitorTests/TemplateArgumentLocTraverser.cpp
53   RecursiveASTVisitorTests/TraversalScope.cpp
54   RecursiveASTVisitorTestDeclVisitor.cpp
55   RecursiveASTVisitorTestPostOrderVisitor.cpp
56   RecursiveASTVisitorTestTypeLocVisitor.cpp
57   RefactoringActionRulesTest.cpp
58   RefactoringCallbacksTest.cpp
59   RefactoringTest.cpp
60   ReplacementsYamlTest.cpp
61   RewriterTest.cpp
62   SourceCodeBuildersTest.cpp
63   SourceCodeTest.cpp
64   StencilTest.cpp
65   ToolingTest.cpp
66   TransformerTest.cpp
67   )
69 clang_target_link_libraries(ToolingTests
70   PRIVATE
71   clangAST
72   clangASTMatchers
73   clangBasic
74   clangDependencyScanning
75   clangDriver
76   clangFormat
77   clangFrontend
78   clangLex
79   clangRewrite
80   clangSerialization
81   clangTooling
82   clangToolingCore
83   clangToolingInclusions
84   clangToolingRefactoring
85   clangTransformer
86   )
88 target_link_libraries(ToolingTests
89   PRIVATE
90   LLVMTestingSupport
91   clangTesting
94 add_subdirectory(Syntax)