<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">2013/4/4 Daniel Carrera <span dir="ltr">&lt;<a href="mailto:dcarrera@gmail.com" target="_blank">dcarrera@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div class="im">On 4 April 2013 11:41, Eric Noulard &lt;<a href="mailto:eric.noulard@gmail.com">eric.noulard@gmail.com</a>&gt; wrote:<br>
&gt; You can perfectly add a custom target/command to do that,<br>
&gt; if you do out-of-source build then removing the build dir is ok.<br>
<br>
</div>Thanks. Yes, I am doing out of source builds.<br>
<div class="im"><br>
&gt; Now, this would be a one-shot suicidal target since this will<br>
&gt; basically erase the build tool file (VS project, Makefile, ...)<br>
&gt; which is needed to launch itself :-]<br>
<br>
</div>Why is it suicidal? The Makefile doesn&#39;t mean anything. All the<br>
intelligence is in CMakeLists.txt.<br></blockquote><div><br></div><div>Yes I know. <br>By suicidal I mean that the built tool will remove its own file<br></div><div>(but not the CMakeLists.txt off course).<br></div><div>
<br></div><div>i.e:<br><br></div><div>make superclean <br>will succeed , but ...<br><br></div><div>make superclean; make  <br>won&#39;t  since &quot;make superclean&quot; will have thrown the &quot;Makefile&quot; away.<br>
</div></div><br></div><div class="gmail_extra"><br>-- <br>Erk<br>Le gouvernement représentatif n&#39;est pas la démocratie -- <a href="http://www.le-message.org" target="_blank">http://www.le-message.org</a>
</div></div>