forked from OSchip/llvm-project
37 lines
673 B
CMake
37 lines
673 B
CMake
add_clang_library(clangAnalysis
|
|
AnalysisDeclContext.cpp
|
|
BodyFarm.cpp
|
|
CFG.cpp
|
|
CFGReachabilityAnalysis.cpp
|
|
CFGStmtMap.cpp
|
|
CallGraph.cpp
|
|
CocoaConventions.cpp
|
|
Dominators.cpp
|
|
FormatString.cpp
|
|
LiveVariables.cpp
|
|
ObjCNoReturn.cpp
|
|
PostOrderCFGView.cpp
|
|
PrintfFormatString.cpp
|
|
ProgramPoint.cpp
|
|
PseudoConstantAnalysis.cpp
|
|
ReachableCode.cpp
|
|
ScanfFormatString.cpp
|
|
ThreadSafety.cpp
|
|
UninitializedValues.cpp
|
|
)
|
|
|
|
add_dependencies(clangAnalysis
|
|
ClangAttrClasses
|
|
ClangAttrList
|
|
ClangCommentNodes
|
|
ClangDiagnosticCommon
|
|
ClangDeclNodes
|
|
ClangDiagnosticAnalysis
|
|
ClangStmtNodes
|
|
)
|
|
|
|
target_link_libraries(clangAnalysis
|
|
clangBasic
|
|
clangAST
|
|
)
|