[PATCH] D62174: [Analysis] Link library dependencies to Analysis plugins
Petr Hosek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 21 17:46:37 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rC361340: [Analysis] Link library dependencies to Analysis plugins (authored by phosek, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D62174?vs=200405&id=200615#toc
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62174/new/
https://reviews.llvm.org/D62174
Files:
test/Analysis/plugins/CheckerDependencyHandling/CMakeLists.txt
test/Analysis/plugins/CheckerOptionHandling/CMakeLists.txt
test/Analysis/plugins/SampleAnalyzer/CMakeLists.txt
Index: test/Analysis/plugins/CheckerDependencyHandling/CMakeLists.txt
===================================================================
--- test/Analysis/plugins/CheckerDependencyHandling/CMakeLists.txt
+++ test/Analysis/plugins/CheckerDependencyHandling/CMakeLists.txt
@@ -1,11 +1,12 @@
set(LLVM_EXPORTED_SYMBOL_FILE ${CMAKE_CURRENT_SOURCE_DIR}/CheckerDependencyHandlingAnalyzerPlugin.exports)
add_llvm_library(CheckerDependencyHandlingAnalyzerPlugin MODULE CheckerDependencyHandling.cpp PLUGIN_TOOL clang)
-if(LLVM_ENABLE_PLUGINS AND (WIN32 OR CYGWIN))
+if(LLVM_ENABLE_PLUGINS)
target_link_libraries(CheckerDependencyHandlingAnalyzerPlugin PRIVATE
clangAnalysis
clangAST
clangStaticAnalyzerCore
+ clangStaticAnalyzerFrontend
LLVMSupport
)
endif()
Index: test/Analysis/plugins/SampleAnalyzer/CMakeLists.txt
===================================================================
--- test/Analysis/plugins/SampleAnalyzer/CMakeLists.txt
+++ test/Analysis/plugins/SampleAnalyzer/CMakeLists.txt
@@ -1,11 +1,12 @@
set(LLVM_EXPORTED_SYMBOL_FILE ${CMAKE_CURRENT_SOURCE_DIR}/SampleAnalyzerPlugin.exports)
add_llvm_library(SampleAnalyzerPlugin MODULE MainCallChecker.cpp PLUGIN_TOOL clang)
-if(LLVM_ENABLE_PLUGINS AND (WIN32 OR CYGWIN))
+if(LLVM_ENABLE_PLUGINS)
target_link_libraries(SampleAnalyzerPlugin PRIVATE
clangAnalysis
clangAST
clangStaticAnalyzerCore
+ clangStaticAnalyzerFrontend
LLVMSupport
)
endif()
Index: test/Analysis/plugins/CheckerOptionHandling/CMakeLists.txt
===================================================================
--- test/Analysis/plugins/CheckerOptionHandling/CMakeLists.txt
+++ test/Analysis/plugins/CheckerOptionHandling/CMakeLists.txt
@@ -1,11 +1,12 @@
set(LLVM_EXPORTED_SYMBOL_FILE ${CMAKE_CURRENT_SOURCE_DIR}/CheckerOptionHandlingAnalyzerPlugin.exports)
add_llvm_library(CheckerOptionHandlingAnalyzerPlugin MODULE CheckerOptionHandling.cpp PLUGIN_TOOL clang)
-if(LLVM_ENABLE_PLUGINS AND (WIN32 OR CYGWIN))
+if(LLVM_ENABLE_PLUGINS)
target_link_libraries(CheckerOptionHandlingAnalyzerPlugin PRIVATE
clangAnalysis
clangAST
clangStaticAnalyzerCore
+ clangStaticAnalyzerFrontend
LLVMSupport
)
endif()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62174.200615.patch
Type: text/x-patch
Size: 2233 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190522/f5214d48/attachment.bin>
More information about the llvm-commits
mailing list