I have an external project that builds me a few static libraries. What I want to do is to link them into single shared library with my cmake.
The first thing I need to do is to add_library:
add_library(my_shared_lib SHARED ?????)
as I don't have any source files there (only static libraries), there is nothing to specify after SHARED. (I tried to put my static libs, but it won't take it).
So my question is what do I need to put instead of the question marks?
I also assume that if I target_link_libraries after that, then I'll get what I want.
Has anybody done this?