1 set(LLVM_NO_RTTI 1) 2 3 include_directories( ${CMAKE_CURRENT_BINARY_DIR}/../Checkers ) 4 5 add_clang_library(clangStaticAnalyzerFrontend 6 AnalysisConsumer.cpp 7 CheckerRegistration.cpp 8 FrontendActions.cpp 9 ) 10 11 add_dependencies(clangStaticAnalyzerFrontend 12 clangStaticAnalyzerCheckers 13 clangStaticAnalyzerCore 14 ClangAttrClasses 15 ClangAttrList 16 ClangCommentNodes 17 ClangDeclNodes 18 ClangDiagnosticCommon 19 ClangDiagnosticFrontend 20 ClangStmtNodes 21 ) 22 23 target_link_libraries(clangStaticAnalyzerFrontend 24 clangBasic 25 clangLex 26 clangAST 27 clangFrontend 28 clangRewriteCore 29 clangRewriteFrontend 30 clangStaticAnalyzerCheckers 31 ) 32