llvm-project/clang/lib/StaticAnalyzer/Frontend/CMakeLists.txt

35 lines
658 B
CMake

set(LLVM_NO_RTTI 1)
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/../Checkers )
set(LLVM_LINK_COMPONENTS
Support
)
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
clangAST
clangAnalysis
clangBasic
clangFrontend
clangStaticAnalyzerCheckers
clangStaticAnalyzerCore
)