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

Goswin von Brederlow brederlo at informatik.uni-tuebingen.de
Tue Sep 18 12:40:36 EDT 2007


"Juan Sanchez" <Juan.Sanchez at amd.com> writes:

> 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.
>
> Juan

I tried that. It fails if two *.o files have the same name as I noticed.

MfG
        Goswin


More information about the CMake mailing list