On 6/11/07, <b class="gmail_sendername">Alexander Neundorf</b> <<a href="mailto:a.neundorf-work@gmx.net">a.neundorf-work@gmx.net</a>> 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>> Cmake knows how to build 'hello' because we're calling<br>> 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 "my_clean" target, which would execute the "clean" of your 3rd party<br>project and which can also execute the actual "clean" 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>