2011-02-15 02:13:01 +08:00
|
|
|
set(LLVM_NO_RTTI 1)
|
|
|
|
|
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
|
2012-07-06 08:28:32 +08:00
|
|
|
ClangCommentNodes
|
2011-02-20 05:38:48 +08:00
|
|
|
ClangDeclNodes
|
2012-07-27 14:18:33 +08:00
|
|
|
ClangDiagnosticCommon
|
|
|
|
ClangDiagnosticFrontend
|
2011-02-21 03:41:34 +08:00
|
|
|
ClangStmtNodes
|
2011-02-20 05:38:48 +08:00
|
|
|
)
|
2012-06-21 09:30:21 +08:00
|
|
|
|
|
|
|
target_link_libraries(clangStaticAnalyzerFrontend
|
|
|
|
clangBasic
|
|
|
|
clangLex
|
|
|
|
clangAST
|
|
|
|
clangFrontend
|
|
|
|
clangRewrite
|
|
|
|
clangStaticAnalyzerCheckers
|
|
|
|
)
|