[PATCH] D16158: [CMake] Add clang's targets to LLVM's export set when not building standalone
don hinton via cfe-commits
cfe-commits at lists.llvm.org
Sat Jan 16 15:18:15 PST 2016
hintonda added a comment.
Sorry the previous change caused this configuration to break. However, I'm not sure about adding LLVMExports here. Shouldn't that be handled in llvm/CMakeLists.txt?
In fact, this looks like a cmake bug (or feature) that won't let you export a target that depends on a static lib without also exporting that static lib. Since you've set LLVM_INSTALL_TOOLCHAIN_ONLY, you don't want to export those statics libs anyway, since they won't be available.
I'll play around with it and see if I can come up with something that works for all configurations.
http://reviews.llvm.org/D16158
More information about the cfe-commits
mailing list