"Brandon Van Every" <[EMAIL PROTECTED]> writes:

> On 9/15/07, Goswin von Brederlow <[EMAIL PROTECTED]> wrote:
>>
>> But how do I link libutil.a and libconsole.a into a combined
>> libcore.a? I tried setting
>
> FAQ.  (I'm tired.)
>
> Cheers,
> Brandon Van Every

There are 2 things in the FAQ that could be relevant:

'Does CMake support "convenience" libraries?' would indicate that I
can't combine library objects into a single library. It doesn't say if
it means static or dynamic libraries though. Does it mean both?

'Why are libraries linked to my shared library included when something
links to it?' That indicates to me that setting
TARGET_LINK_LIBRARIES(merged liba lib) should have the desired effect
of linking libmerged.a, liba.a and libb.a into any binary linking
libmerged.a. Didn't happen. I have to manually
TARGET_LINK_LIBRARIES(binary merged liba libb).

Was that the FAQ part you were refering too?

MfG
        Goswin
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to