On 6/11/07, <b class="gmail_sendername">Alexander Neundorf</b> &lt;<a href="mailto:a.neundorf-work@gmx.net">a.neundorf-work@gmx.net</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Sunday 10 June 2007 21:08, Clark J. Wang wrote:<br>...<br>&gt; Cmake knows how to build &#39;hello&#39; because we&#39;re calling<br>&gt; ADD_CUSTOM_TARGET(hello). But how can cmake know how to clean hello?<br><br>This is currently not directly possible in cmake.
<br>What I did (knowing that we use only make-generators) was to add a<br>custom &quot;my_clean&quot; target, which would execute the &quot;clean&quot; of your 3rd party<br>project and which can also execute the actual &quot;clean&quot; of your cmake tree.
<br><br>Not very nice but works,</blockquote><div><br>Thank you. <br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Alex<br>_______________________________________________
<br>CMake mailing list<br><a href="mailto:CMake@cmake.org">CMake@cmake.org</a><br><a href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote></div>