summaryrefslogtreecommitdiffstats
path: root/clang/examples/analyzer-plugin
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2014-07-13 13:40:23 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2014-07-13 13:40:23 +0000
commit9b9de47d15171c440fd62c3bc4bf2ac968ee63bf (patch)
tree125ac3adedccf24c122b7e9b1cc944f92c1c4ef9 /clang/examples/analyzer-plugin
parent6672b8e4ee06d78c0f4e95a0922555daeb3e3f40 (diff)
downloadbcm5719-llvm-9b9de47d15171c440fd62c3bc4bf2ac968ee63bf.tar.gz
bcm5719-llvm-9b9de47d15171c440fd62c3bc4bf2ac968ee63bf.zip
[CMake] Give explicit dependencies to a couple of modules, PrintFunctionNames and SampleAnalyzerPlugin, for Win32.DLL.
llvm-svn: 212906
Diffstat (limited to 'clang/examples/analyzer-plugin')
-rw-r--r--clang/examples/analyzer-plugin/CMakeLists.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/clang/examples/analyzer-plugin/CMakeLists.txt b/clang/examples/analyzer-plugin/CMakeLists.txt
index b2a20e12782..1788d6c5cac 100644
--- a/clang/examples/analyzer-plugin/CMakeLists.txt
+++ b/clang/examples/analyzer-plugin/CMakeLists.txt
@@ -1 +1,10 @@
add_llvm_loadable_module(SampleAnalyzerPlugin MainCallChecker.cpp)
+
+if(LLVM_ENABLE_PLUGINS AND (WIN32 OR CYGWIN))
+ target_link_libraries(SampleAnalyzerPlugin ${cmake_2_8_12_PRIVATE}
+ clangAnalysis
+ clangAST
+ clangStaticAnalyzerCore
+ LLVMSupport
+ )
+endif()
OpenPOWER on IntegriCloud