[CMake] adding static library when building static library

Brandon Van Every bvanevery at gmail.com
Fri Jan 18 13:50:23 EST 2008


On Jan 18, 2008 4:18 AM, Ramazan Girgin <ramazangirgin at gmail.com> wrote:
> Hi all,
> I am building static lib on windows.While building static lib i am using
> external static library . With using cmake a couldn't add this static
> library to my new static library.

Some archivers such as AR cannot put a static library inside of a
static library.  I don't know whether MSVC archivers can.  In any
event, putting a static library inside of a static library is not
portable, if it can be done anywhere.  Check the FAQ and the mailing
list archives for more info on this issue.


Cheers,
Brandon Van Every


More information about the CMake mailing list