[CMake] Give explicit dependencies to a couple of modules, PrintFunctionNames and SampleAnalyzerPlugin, for Win32.DLL.

llvm-svn: 212906
This commit is contained in:
NAKAMURA Takumi 2014-07-13 13:40:23 +00:00
parent 6672b8e4ee
commit 9b9de47d15
2 changed files with 18 additions and 0 deletions

View File

@ -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()

View File

@ -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()