forked from OSchip/llvm-project
22 lines
526 B
CMake
22 lines
526 B
CMake
set(LLVM_USED_LIBS clangBasic clangAST clangIndex)
|
|
|
|
add_clang_library(clangAnalysis
|
|
AnalysisContext.cpp
|
|
CFG.cpp
|
|
CFGReachabilityAnalysis.cpp
|
|
CFGStmtMap.cpp
|
|
CocoaConventions.cpp
|
|
FormatString.cpp
|
|
LiveVariables.cpp
|
|
PrintfFormatString.cpp
|
|
ProgramPoint.cpp
|
|
PseudoConstantAnalysis.cpp
|
|
ReachableCode.cpp
|
|
ScanfFormatString.cpp
|
|
ThreadSafety.cpp
|
|
UninitializedValues.cpp
|
|
)
|
|
|
|
add_dependencies(clangAnalysis ClangAttrClasses ClangAttrList
|
|
ClangDiagnosticAnalysis ClangDeclNodes ClangStmtNodes)
|