I use a technique similar to what's found here: 
http://www.mail-archive.com/[email protected]/msg28670/libutils.cmake

On 21 Sep, 2012, at 8:07 AM, Witold E Wolski <[email protected]> wrote:

> 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
> --
> 
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at 
> http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the CMake FAQ at: 
> http://www.cmake.org/Wiki/CMake_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake

-- 
Cheers,
Leif

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to