[CMake] Generic way to combine static libs

Alexander Neundorf a.neundorf-work at gmx.net
Thu May 8 16:32:44 EDT 2008


On Thursday 08 May 2008, Christoph Cullmann wrote:
> Hi,
>
> we have the case, that we compile two static libs and want to combine them
> into one static lib which is installed. At the moment, we generate a list
> of objects of one of the libs and tsort them and ar them in the other lib.
> On Windows, we do the same, using the results of the tsort on Linux (which
> is bad, as no Windows-Compile without a Linux compile in advance). Is there
> a generic solution for such a problem available for cmake working on both
> Unics + Windows (Visual C++ compiler)?

I think there is currently no generic solution to combine static libs into 
another library. 
Do you need the two static libs or could you just create one static lib right 
away ?

Alex


More information about the CMake mailing list