[CMake] Resolving static lib dependency at executable link time

Pierre Mallard mallard.pierre at gmail.com
Mon Feb 25 07:47:26 EST 2013


Well it is indeed possible and it works... Note that static libraries 's
object files are built with unresolved symbols. Final resolution is
performed when building executable
Therefore libB can compile without libC and conversely ...
Anyone else ?



On Mon, Feb 25, 2013 at 12:23 PM, Ansis Māliņš <ansis.malins at gmail.com>wrote:

> >libB depends on libC and libC depends on libB.
> How is that even possible? You compile B and it fails because there's no C
> yet. You compile C and it fails because there's no B yet.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130225/edffbfaa/attachment.htm>


More information about the CMake mailing list