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()
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()
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits