Boost logo

Boost-Build :

Subject: Re: [Boost-build] Newbie question
From: Vladimir Prus (ghost_at_[hidden])
Date: 2012-10-24 11:29:38

On 24.10.2012 00:56, Steven Watanabe wrote:
> On 10/23/2012 01:25 PM, Juan Carlos Franzoy wrote:
>> Is there any way to make one static library that contains other static
>> libraries?
> Not built in. If you list a static library as a source
> to another static library, they will both be passed
> as sources to the linker. I suppose that you could use
> lib lib2 : [ cast _ obj : lib1.a ] ;
> to force lib1.a to be treated as if it were
> an object file.

What's the use case, though? No standard tool will do anything useful with such nested .a file.

- Volodya

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at