Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
$<TARGET_OBJECTS:${LIBCXX_ABI_LIBRARY}> should give you the .o or .obj files used to construct the library.
I guess that would only work if they're built all as part of the same CMake invocation? In the setup where I'm trying this (for bootstrapping a MinGW environment), they're built standalone, with the libcxx cmake invocation pointing to the built libcxxabi static library.
It's not that easy to do in CMake, and a CMake solution would be limited to only
merging in-tree builds together. This script allows merging any two static libraries,
including merging an installed libc++abi into an in-tree libc++ build.
Obviously I'm biased because I wrote the script initially, but I still prefer a python
solution.
utils/merge_archives.py | ||
---|---|---|
121 ↗ | (On Diff #112666) | How about simply using *.o*? |
utils/merge_archives.py | ||
---|---|---|
121 ↗ | (On Diff #112666) | Sure, that would probably work as well. |