[PATCH] D32668: CMake: Split static library exports into their own export file

Tom Stellard via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 1 13:00:39 PDT 2017


tstellar added a comment.

In https://reviews.llvm.org/D32668#742149, @chapuni wrote:

> I wonder what is the case that LLVMConfig.cmake is provided but libLLVM*.a(s) are not provided.
>  I suppose LLVMConfig.cmake endorses libs.
>
> Or, do you want to let LLVMConfig.cmake use a few SHARED and MODULE ?
>  Then, is LLVMStaticExports.cmake included in the same package as static libs?


Yes, LLVMStaticExports.cmake would be included in the static lib package.

> I suggest exported targets may be categorized as like "essentials" "optional libs" "optional llvm tools", etc.
> 
> include(OPTIONAL) is good idea.




https://reviews.llvm.org/D32668





More information about the llvm-commits mailing list