<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Darren ha</b> <span dir="ltr"><<a href="mailto:nberserk@gmail.com">nberserk@gmail.com</a>></span><br>Date: Tue, Sep 22, 2009 at 8:47 AM<br>
Subject: Re: [CMake] additional target support<br>To: <a href="mailto:a.neundorf-work@gmx.net">a.neundorf-work@gmx.net</a><br><br><br><br><br><div class="gmail_quote"><div class="im">On Sat, Sep 19, 2009 at 9:00 PM, Alexander Neundorf <span dir="ltr"><<a href="mailto:a.neundorf-work@gmx.net" target="_blank">a.neundorf-work@gmx.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>On Saturday 19 September 2009, Darren ha wrote:<br>
> Hi list!<br>
><br>
> I was wondering how to implement the following requirements in<br>
> CMakeLists.txt.<br>
> - I want to add 2 additional target to each target.<br>
> - target.only ; only build target without any dependency check<br>
<br>
</div>Did you try "target/fast" ?<br></blockquote></div><div><br>Thanks, this works!!<br> <br></div><div class="im"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><br>
> - target.clean ; only clean target. not cleaning dependent targets<br>
<br>
</div>Isn't the cleaning done only on directory basis ?<br>
So I think currently the only way to do what you want is to structure your<br>
directories accordingly.<br></blockquote></div><div>this works!<br>any directories containing CMakelists.txt have clean target in Makefile.<br>but this takes additional step(moving to desired directory).<br>is there any simple way to add target.clean ?<br>
</div><div class="im"><div><br> </div><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>
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>
</blockquote></div></div><br>
</div><br>