I just did the same thing as Petr, <div><br></div><div>Hopefully, we can do it gracefully with 2.8.8.</div><div><br></div><div>Thanks~~<br><br><div class="gmail_quote">On Fri, Mar 9, 2012 at 10:48 AM, Alexander Neundorf <span dir="ltr">&lt;<a href="mailto:a.neundorf-work@gmx.net">a.neundorf-work@gmx.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Friday 09 March 2012, Petr Kmoch wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; I was solving a similar problem in our setup at work. The problem was<br>
&gt; that the parent couldn&#39;t know in advance which libraries will be<br>
&gt; imported by children. Conceptually speaking, I solved this by creating<br>
&gt; my own set of global properties which contain all necessary details<br>
&gt; about the libraries imported. These properties are appended to when a<br>
&gt; child imports a library, and then scanned once more in the parent and<br>
&gt; imported again:<br>
<br>
</div>I need to check, but I think with the upcoming 2.8.8 release there will be a<br>
new GLOBAL option for add_library(.. IMPORTED), to make the imported target<br>
globally visible.<br>
<br>
Alex<br>
<div class="HOEnZb"><div class="h5">--<br>
<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><p><b><span style="font-size:9pt">CONG MA </span></b></p><p><b><span style="font-size:9pt">skype: cong.ma.curve</span></b></p><p><b><span style="font-size:9pt;color:rgb(247,150,70)"><br>
</span></b></p><p><b><span style="font-size:9pt;color:rgb(247,150,70)">CURVE DENTAL</span></b></p><p><i><span style="font-size:9pt;color:rgb(247,150,70)">A Fresh, Web-based Alternative to Dental Software</span></i></p><p>
<i><span style="font-size:9pt;color:rgb(247,150,70)"><a href="http://www.curvedental.com/" style="color:rgb(42,93,176)" target="_blank"><span style="color:blue">www.curvedental.com</span></a></span></i></p><br>
</div>