468663ddbb
Former-commit-id: 1d6753294b2993e1fbf92de9366bb9544db4189b
12 lines
362 B
CMake
12 lines
362 B
CMake
set(LLVM_EXPORTED_SYMBOL_FILE ${CMAKE_CURRENT_SOURCE_DIR}/SampleAnalyzerPlugin.exports)
|
|
add_llvm_loadable_module(SampleAnalyzerPlugin MainCallChecker.cpp PLUGIN_TOOL clang)
|
|
|
|
if(LLVM_ENABLE_PLUGINS AND (WIN32 OR CYGWIN))
|
|
target_link_libraries(SampleAnalyzerPlugin PRIVATE
|
|
clangAnalysis
|
|
clangAST
|
|
clangStaticAnalyzerCore
|
|
LLVMSupport
|
|
)
|
|
endif()
|