[PATCH] [CMake] Introduce libLLVM.so as LLVM_ENABLE_SHARED

Reid Kleckner rnk at google.com
Tue Mar 4 17:46:35 PST 2014


On Tue, Mar 4, 2014 at 4:03 PM, NAKAMURA Takumi <geek4civic at gmail.com>wrote:

> >> I am a fan of such "the big DLL".
> >
> >
> > You did not answer the last question, will BUILD_SHARED_LIBS still work
> as
> > today? This functionality is something I would like to maintain, as it
> can
> > reduce linking time a lot.
>
> I have not tried with both LLVM_ENABLE_SHARED and BUILD_SHARED_LIBS.
> Although it would work, it might be redundant.
> I'll rework for it.
>
> IMO, BUILD_SHARED_LIBS might be hidden as ADVANCED.
> It confuses novices.


Cool!  We were never going to be able to support BUILD_SHARED_LIBS=ON on
Windows due to the annotation burden of all the cross-library imports in
LLVM.  This will instead let us make an LLVM.dll that we can annotate with
dllexport.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140304/4dc26a6a/attachment.html>


More information about the llvm-commits mailing list