[CMake] Link Problem

Timenkov Yuri ytimenkov at gmail.com
Wed Sep 24 10:51:34 EDT 2008


On Tue, Sep 23, 2008 at 10:10 AM, Sharma, Gaurav <
Gaurav.Sharma at safenet-inc.com> wrote:

>  Hi All,
>
>
>
> Can anybody tell me that If I wish to link my one static lib 'A' with other
> multiple static libs statically(all these libs should become part of my 'A')
> on Borland c++ 5.5 platform then how can I do that.
>
> I have tried TARGET_LINK_LIBRARIES but it doesn't works.
>
 TARGET_LINK_LIBRARIES will work when you decide to link some executable
with your static lib A.
I don't think you can do this in portable manner. For your specific compiler
you can use custom linker flags which embed required libraries into your A.

>
>
> Thanks in advance
>
> Gaurav Sharma
>
>
>
>
>
> The information contained in this electronic mail transmission
> may be privileged and confidential, and therefore, protected
> from disclosure. If you have received this communication in
> error, please notify us immediately by replying to this
> message and deleting it from your computer without copying
> or disclosing it.
>
>
>
>
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080924/543df5d5/attachment.htm>


More information about the CMake mailing list