[CMake] platform independent combining several C/C++ libraries into one.

Witold E Wolski wewolski at gmail.com
Fri Sep 21 08:07:26 EDT 2012


Hi,

I am wondering what is the cmake way to combine several libraries into one.
How to do it on linux or windows is discussed here

http://stackoverflow.com/questions/2157629/linking-static-libraries-to-other-static-libraries
http://stackoverflow.com/questions/13128/how-to-combine-several-c-c-libraries-into-one

but how do I do it platform independently with cmake.
The project I have produces several libs but for user convinience I would
like to ship a single library only.

regards
Witold

-- 
Witold Eryk Wolski

Triemlistrasse 155
8047 Zuerich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120921/d08b5f03/attachment.htm>


More information about the CMake mailing list