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

Brandon Van Every bvanevery at gmail.com
Mon Sep 17 02:10:24 EDT 2007


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


More information about the CMake mailing list