diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2014-07-13 13:40:23 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2014-07-13 13:40:23 +0000 |
commit | d7f86237745cf6dea85a03af9ed34832d9f150b7 (patch) | |
tree | 14aa368120dd5189e0eacb904d050c689381b60a /examples/PrintFunctionNames | |
parent | 8a8e287b86c1047420c1c34565feaa23b5475e9d (diff) | |
download | clang-d7f86237745cf6dea85a03af9ed34832d9f150b7.tar.gz |
[CMake] Give explicit dependencies to a couple of modules, PrintFunctionNames and SampleAnalyzerPlugin, for Win32.DLL.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@212906 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples/PrintFunctionNames')
-rw-r--r-- | examples/PrintFunctionNames/CMakeLists.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/PrintFunctionNames/CMakeLists.txt b/examples/PrintFunctionNames/CMakeLists.txt index b79e575eaa..e700281ab4 100644 --- a/examples/PrintFunctionNames/CMakeLists.txt +++ b/examples/PrintFunctionNames/CMakeLists.txt @@ -10,3 +10,12 @@ if( NOT MSVC ) # MSVC mangles symbols differently, and endif() add_llvm_loadable_module(PrintFunctionNames PrintFunctionNames.cpp) + +if(LLVM_ENABLE_PLUGINS AND (WIN32 OR CYGWIN)) + target_link_libraries(PrintFunctionNames ${cmake_2_8_12_PRIVATE} + clangAST + clangBasic + clangFrontend + LLVMSupport + ) +endif() |