1 set(LLVM_NO_RTTI 1) 2 3 set(LLVM_USED_LIBS clangBasic clangLex clangAST clangFrontend clangRewrite) 4 5 include_directories( ${CMAKE_CURRENT_BINARY_DIR}/../Checkers ) 6 7 add_clang_library(clangStaticAnalyzerFrontend 8 AnalysisConsumer.cpp 9 CheckerRegistration.cpp 10 FrontendActions.cpp 11 ) 12 13 add_dependencies(clangStaticAnalyzerFrontend 14 clangStaticAnalyzerCheckers 15 clangStaticAnalyzerCore 16 ClangAttrClasses 17 ClangAttrList 18 ClangDeclNodes 19 ClangStmtNodes 20 ) 21