1 add_subdirectory(Dynamic) 2 3 set(LLVM_LINK_COMPONENTS support) 4 5 add_clang_library(clangASTMatchers 6 ASTMatchFinder.cpp 7 ASTMatchersInternal.cpp 8 ) 9 10 add_dependencies(clangASTMatchers 11 ClangAttrClasses 12 ClangAttrImpl 13 ClangAttrList 14 ClangCommentNodes 15 ClangDeclNodes 16 ClangDiagnosticCommon 17 ClangStmtNodes 18 ) 19 20 target_link_libraries(clangASTMatchers 21 clangBasic 22 clangAST 23 ) 24