2011-02-15 02:13:01 +08:00
|
|
|
set(LLVM_NO_RTTI 1)
|
|
|
|
|
|
|
|
set(LLVM_USED_LIBS clangBasic clangLex clangAST clangFrontend clangRewrite)
|
|
|
|
|
2011-02-18 02:40:33 +08:00
|
|
|
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/../Checkers )
|
|
|
|
|
2011-02-15 02:13:01 +08:00
|
|
|
add_clang_library(clangStaticAnalyzerFrontend
|
|
|
|
AnalysisConsumer.cpp
|
2011-02-15 02:13:31 +08:00
|
|
|
CheckerRegistration.cpp
|
2011-02-15 02:13:06 +08:00
|
|
|
FrontendActions.cpp
|
2011-02-15 02:13:01 +08:00
|
|
|
)
|
|
|
|
|
2011-02-20 05:38:48 +08:00
|
|
|
add_dependencies(clangStaticAnalyzerFrontend
|
|
|
|
clangStaticAnalyzerCheckers
|
|
|
|
clangStaticAnalyzerCore
|
|
|
|
ClangAttrClasses
|
|
|
|
ClangAttrList
|
|
|
|
ClangDeclNodes
|
2011-02-21 03:41:34 +08:00
|
|
|
ClangStmtNodes
|
2011-02-20 05:38:48 +08:00
|
|
|
)
|