On Thu, Dec 11, 2008 at 3:05 PM, Andreas Pakulat <span dir="ltr">&lt;<a href="mailto:apaku@gmx.de">apaku@gmx.de</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c">On 11.12.08 14:50:45, Robert Dailey wrote:<br>
&gt; To elaborate, I&#39;m specifically getting this error message:<br>
&gt;<br>
&gt; CMake Error at vfx/CMakeLists.txt:74 (install):<br>
&gt; &nbsp; install TARGETS given target &quot;messenger&quot; which does not exist in this<br>
&gt; &nbsp; directory.<br>
&gt;<br>
&gt; And this is what my INSTALL() command looks like:<br>
&gt;<br>
&gt; install( TARGETS messenger ARCHIVE DESTINATION &quot;${target_bin_dir}&quot; )<br>
&gt;<br>
&gt;<br>
&gt; I have no idea what the error message above means. At first I thought it was<br>
&gt; due to the ordering in which I defined my projects, but I&#39;m not sure that&#39;s<br>
&gt; true. The &#39;messenger&#39; project is defined in another sibling directory,<br>
&gt; perhaps that is the issue?<br>
<br>
</div></div>Well, the error says exactly that, so there&#39;s not really a reason to not<br>
believe thats the case, is there ;) I wasn&#39;t aware of that, but apparently<br>
you can only install targets in the same CMakeLists.txt as they&#39;re defined.<br>
This kinda makes sense too, because it makes sure that all stuff thats done<br>
to a target is localized in one CMakeLists.txt.</blockquote></div><br>But nothing is &quot;being done to&quot; the messenger target. It&#39;s simply taking something from the already configured target and placing it into another target&#39;s binary output dir. I don&#39;t see the issue here. This feels like an arbitrary limitation.<br>