forked from OSchip/llvm-project
31 lines
602 B
CMake
31 lines
602 B
CMake
set(LLVM_NO_RTTI 1)
|
|
|
|
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/../Checkers )
|
|
|
|
add_clang_library(clangStaticAnalyzerFrontend
|
|
AnalysisConsumer.cpp
|
|
CheckerRegistration.cpp
|
|
FrontendActions.cpp
|
|
)
|
|
|
|
add_dependencies(clangStaticAnalyzerFrontend
|
|
clangStaticAnalyzerCheckers
|
|
clangStaticAnalyzerCore
|
|
ClangAttrClasses
|
|
ClangAttrList
|
|
ClangCommentNodes
|
|
ClangDeclNodes
|
|
ClangDiagnosticCommon
|
|
ClangDiagnosticFrontend
|
|
ClangStmtNodes
|
|
)
|
|
|
|
target_link_libraries(clangStaticAnalyzerFrontend
|
|
clangBasic
|
|
clangLex
|
|
clangAST
|
|
clangFrontend
|
|
clangRewrite
|
|
clangStaticAnalyzerCheckers
|
|
)
|