[LLVMdev] How to build an LLVM pass through visual studio

Thomson lilotom at gmail.com
Sat Jun 16 09:53:05 PDT 2012


I tried to build an LLVM pass in visual studio with cmake, but it seems
add_LLVM_loadable_module macro doesn't support non-unix and non-cygwin
platform. Is loadable module necessary for LLVM pass? Could I just build a
static library and pass it to opt?   If static library is not supported, is
there any way to build an LLVM pass through visual studio? Or through clang
with cmake?

-- 
Thanks
Thomson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120617/a1ebc744/attachment.html>


More information about the llvm-dev mailing list