mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-27 15:41:46 +00:00
9d59cfc67e
The clang-analyzer plugins are not linked to a particular tool, so they can only be compiled if plugins are broadly supported. We could opt instead to decide whether to link them to specifically against clang or with undefined symbols, depending on the value of LLVM_ENABLE_PLUGINS, but we do not currently expect there to be a use case for that rather niche configuration. Differential Revision: https://reviews.llvm.org/D119591
14 lines
276 B
CMake
14 lines
276 B
CMake
add_llvm_library(AnnotateFunctions MODULE AnnotateFunctions.cpp PLUGIN_TOOL clang)
|
|
|
|
if(WIN32 OR CYGWIN)
|
|
set(LLVM_LINK_COMPONENTS
|
|
Support
|
|
)
|
|
clang_target_link_libraries(AnnotateFunctions PRIVATE
|
|
clangAST
|
|
clangBasic
|
|
clangFrontend
|
|
clangLex
|
|
)
|
|
endif()
|