Combining static library's static dependencies into one support
I wrote an article about having such a function that enumerates the interface static library dependencies of a static library and combines them into one big static library.
I have done it for GCC, Clang via `ar -M < script.ar`, and for Visual C++ via `lib.exe`.
The source code and rationale are here: https://cristianadam.eu/20190501/bundling-together-static-libraries-with-cmake/
The reddit user **jcelerier** commented:
> it would be very nice to upstream this function as an official CMake module
What do you guys think?
issue