mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-04 00:06:50 +00:00
[CMake] Give explicit dependencies to a couple of modules, PrintFunctionNames and SampleAnalyzerPlugin, for Win32.DLL.
llvm-svn: 212906
This commit is contained in:
parent
6672b8e4ee
commit
9b9de47d15
@ -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()
|
||||
|
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user