[CMake] Embedding static library in shared object library

santosh mahto santoshbit2007 at gmail.com
Wed Nov 17 06:33:09 EST 2010


Hi all

Q:-i have a 3 static library(say A.a B.a C.a) and i want to create my final
library as .so (say Main.so ) which link + embedd all three
Library.i tried TARGET_LINK_LIBRARIES but it only links to A.a B.a C.a.and
dosnt append it.I want my final binary(Main.so) to include(or embedd) all
three
static library(already compiled with --fpic).
Please Tell  me the correct solution for this dilemma.


AgainstTheScience
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20101117/e6e49f5c/attachment.htm>


More information about the CMake mailing list