search for: llvm_support

Displaying 2 results from an estimated 2 matches for "llvm_support".

2011 Jan 27
2
[LLVMdev] Question about compiling plugins for LLVM tools
...y plugin any differently. I'm using cmake's 'add_library(name SHARED ...)' to create the plugin like so: add_library(reflector SHARED ${REFLECT_SOURCES} ${COMMON_HEADERS} ${REFLECT_HEADERS}) target_link_libraries(reflector linker_common ${LLVM_TARGET} ${LLVM_CORE} ${LLVM_SUPPORT} ${LLVM_SYSTEM} ) Any advice on this? -- -- Talin -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110127/349a59f5/attachment.html>
2011 Feb 02
0
[LLVMdev] Question about compiling plugins for LLVM tools
...cmake's 'add_library(name SHARED ...)' to create the plugin like so: > > add_library(reflector SHARED ${REFLECT_SOURCES} ${COMMON_HEADERS} > ${REFLECT_HEADERS}) > target_link_libraries(reflector > linker_common > ${LLVM_TARGET} > ${LLVM_CORE} > ${LLVM_SUPPORT} > ${LLVM_SYSTEM} > ) > > > Any advice on this? > Still trying to puzzle this one out...what I think I need is to link my plugin such that it doesn't include the LLVM libs in the plugin, but only refer to them as external symbols - but I'm not enough of a unix exp...