<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>I think you shouldn't make B depend on anything, and just make sure that you list all the libs you need at executable link time. <br><br>Sent from my iPhone</div><div><br>On Feb 25, 2013, at 7:47, Pierre Mallard <<a href="mailto:mallard.pierre@gmail.com">mallard.pierre@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr"><div>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<br></div><div>Therefore libB can compile without libC and conversely ...<br>
</div><div>Anyone else ?<br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Feb 25, 2013 at 12:23 PM, Ansis Māliņš <span dir="ltr"><<a href="mailto:ansis.malins@gmail.com" target="_blank">ansis.malins@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="im">><span style="font-family:arial,sans-serif;font-size:13px">libB depends on libC and libC depends on libB.</span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px">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.</span></div>
</div>
</blockquote></div><br></div>
</div></blockquote><blockquote type="cite"><div><span>--</span><br><span></span><br><span>Powered by <a href="http://www.kitware.com">www.kitware.com</a></span><br><span></span><br><span>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a></span><br><span></span><br><span>Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ">http://www.cmake.org/Wiki/CMake_FAQ</a></span><br><span></span><br><span>Follow this link to subscribe/unsubscribe:</span><br><span><a href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake</a></span></div></blockquote></body></html>