[CMake] Creating a static lib from other static libs, HOW?

Sanchez, Juan juan.sanchez at amd.com
Mon Sep 17 10:07:07 EDT 2007


Could you post the link to the faq?  I don't see which question covers the topic.

Juan


-----Original Message-----
From: cmake-bounces+juan.sanchez=amd.com at cmake.org on behalf of Brandon Van Every
Sent: Mon 9/17/2007 1:10 AM
To: cmake at cmake.org
Subject: Re: [CMake] Creating a static lib from other static libs, HOW?
 
On 9/16/07, Juan Sanchez <Juan.Sanchez at amd.com> wrote:
> Hello,
>
> The ar command can be used to extract the .o files from a .a file.
> Extracting them all into the same directory, perhaps you can use some
> file globbing to find all the objects and add them to another archive.

Yeah but that's the ar command, which is specific to Unixy systems.
Doesn't help a cross-platform build solution that includes MSVC.

I just got done telling all you guys how to reuse objects in a
platform independent manner.  And it's in the FAQ now for handy
reference.


Cheers,
Brandon Van Every
_______________________________________________
CMake mailing list
CMake at cmake.org
http://www.cmake.org/mailman/listinfo/cmake



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20070917/2e0db1d1/attachment-0001.html


More information about the CMake mailing list