зеркало из https://github.com/microsoft/clang-1.git
24 строки
439 B
CMake
24 строки
439 B
CMake
set(MODULE TRUE)
|
|
|
|
set( LLVM_LINK_COMPONENTS support mc)
|
|
|
|
add_clang_library(SampleAnalyzerPlugin MainCallChecker.cpp)
|
|
|
|
add_dependencies(SampleAnalyzerPlugin
|
|
ClangAttrClasses
|
|
ClangAttrList
|
|
ClangCommentNodes
|
|
ClangDeclNodes
|
|
ClangDiagnosticCommon
|
|
ClangStmtNodes
|
|
)
|
|
|
|
target_link_libraries(SampleAnalyzerPlugin
|
|
clangStaticAnalyzerCore
|
|
)
|
|
|
|
set_target_properties(SampleAnalyzerPlugin
|
|
PROPERTIES
|
|
LINKER_LANGUAGE CXX
|
|
PREFIX "")
|