1set(LLVM_LINK_COMPONENTS 2 ${LLVM_TARGETS_TO_BUILD} 3 Support 4 ) 5 6# By default MSVC has a 2^16 limit on the number of sections in an object file, 7# and this needs more than that. 8if (MSVC) 9 set_source_files_properties(RecursiveASTVisitorTestExprVisitor.cpp PROPERTIES COMPILE_FLAGS /bigobj) 10endif() 11 12add_clang_unittest(ToolingTests 13 CommentHandlerTest.cpp 14 CompilationDatabaseTest.cpp 15 FixItTest.cpp 16 LookupTest.cpp 17 QualTypeNamesTest.cpp 18 RecursiveASTVisitorTest.cpp 19 RecursiveASTVisitorTestCallVisitor.cpp 20 RecursiveASTVisitorTestDeclVisitor.cpp 21 RecursiveASTVisitorTestExprVisitor.cpp 22 RecursiveASTVisitorTestTypeLocVisitor.cpp 23 RefactoringCallbacksTest.cpp 24 RefactoringTest.cpp 25 ReplacementsYamlTest.cpp 26 RewriterTest.cpp 27 ToolingTest.cpp 28 ) 29 30target_link_libraries(ToolingTests 31 clangAST 32 clangASTMatchers 33 clangBasic 34 clangFormat 35 clangFrontend 36 clangLex 37 clangRewrite 38 clangTooling 39 clangToolingCore 40 ) 41