[CMake] a question about archiving libraries

Eric Noulard eric.noulard at gmail.com
Fri Feb 4 02:47:00 EST 2011


2011/2/4 mina adel <elecengineer_mina at yahoo.com>:
> Hi,
> Thank you so much for your reply.
>
> About archiving the libraries, can I use "ar" with "custom_command()" to
> archive the three libraries into one big library.?

This may not work on all platforms.
Some people seems to do the same trick
http://www.mail-archive.com/cmake@cmake.org/msg16674.html

You may find other reference to "merging static libraries"  from the
CMake ML archive:
http://www.cmake.org/Wiki/CMake_FAQ#Where_can_I_find_searchable_CMake_Mailing_Archives.3F

-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org


More information about the CMake mailing list