1set(LLVM_LINK_COMPONENTS support) 2 3add_clang_library(clangStaticAnalyzerCore 4 APSIntType.cpp 5 AnalysisManager.cpp 6 AnalyzerOptions.cpp 7 BasicValueFactory.cpp 8 BlockCounter.cpp 9 BugReporter.cpp 10 BugReporterVisitors.cpp 11 CallEvent.cpp 12 Checker.cpp 13 CheckerContext.cpp 14 CheckerHelpers.cpp 15 CheckerManager.cpp 16 CheckerRegistry.cpp 17 ConstraintManager.cpp 18 CoreEngine.cpp 19 Environment.cpp 20 ExplodedGraph.cpp 21 ExprEngine.cpp 22 ExprEngineC.cpp 23 ExprEngineCXX.cpp 24 ExprEngineCallAndReturn.cpp 25 ExprEngineObjC.cpp 26 FunctionSummary.cpp 27 HTMLDiagnostics.cpp 28 MemRegion.cpp 29 PathDiagnostic.cpp 30 PlistDiagnostics.cpp 31 ProgramState.cpp 32 RangeConstraintManager.cpp 33 RegionStore.cpp 34 SValBuilder.cpp 35 SVals.cpp 36 SimpleConstraintManager.cpp 37 SimpleSValBuilder.cpp 38 Store.cpp 39 SubEngine.cpp 40 SymbolManager.cpp 41 TextPathDiagnostics.cpp 42 ) 43 44add_dependencies(clangStaticAnalyzerCore 45 ClangAttrClasses 46 ClangAttrList 47 ClangCommentNodes 48 ClangDeclNodes 49 ClangDiagnosticCommon 50 ClangStmtNodes 51 ) 52 53target_link_libraries(clangStaticAnalyzerCore 54 clangBasic 55 clangLex 56 clangAST 57 clangFrontend 58 clangRewriteCore 59 ) 60