Thanks I modified cmake unistall example for my purpose:<br><div><a href="http://www.cmake.org/Wiki/CMake_FAQ#Can_I_do_.22make_uninstall.22_with_CMake.3F">http://www.cmake.org/Wiki/CMake_FAQ#Can_I_do_.22make_uninstall.22_with_CMake.3F</a> </div>

<div class="gmail_extra"><br clear="all"><div>regards<div>Vivek Goel</div></div><br>
<br><br><div class="gmail_quote">On Sun, Dec 9, 2012 at 2:21 AM, Martin Koller <span dir="ltr">&lt;<a href="mailto:martin.koller@etm.at" target="_blank">martin.koller@etm.at</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">On Saturday 08 December 2012 20:56:49 Vivek Goel wrote:<br>
&gt; Do I need to change all install rull using this syntax or can I use an override rule which can do It for all components ?<br>
<br>
</div>I&#39;m not that experienced with cmake...<br>
What about the following:<br>
<br>
set(SOURCES<br>
file1<br>
file2<br>
file3<br>
... and so on<br>
)<br>
<br>
foreach(f ${SOURCES})<br>
  install(CODE &quot;execute_process(COMMAND svn add ${f})&quot;)<br>
endforeach()<br>
<br>
&gt;<br>
&gt; regards<br>
&gt; Vivek Goel<br>
<div class="im">&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Sun, Dec 9, 2012 at 12:59 AM, Martin Koller &lt;<a href="mailto:martin.koller@etm.at">martin.koller@etm.at</a>&lt;mailto:<a href="mailto:martin.koller@etm.at">martin.koller@etm.at</a>&gt;&gt; wrote:<br>
&gt; On Friday 07 December 2012 07:37:38 Vivek Goel wrote:<br>
&gt; &gt; Hi,<br>
&gt; &gt; I am using cmake install target to copy files to directory.<br>
&gt; &gt; Is there a way I can tell cmake to automatically add destination files in svn repo  ?<br>
&gt; &gt;<br>
&gt; &gt; regards<br>
&gt; &gt; Vivek Goel<br>
&gt;<br>
&gt; What about an additional install rule, e.g.<br>
&gt; install(CODE &quot;execute_process(COMMAND svn add ${theFile})&quot;)<br>
&gt; --<br>
&gt; Best regards/Schöne Grüße<br>
&gt;<br>
&gt; Martin<br>
&gt;<br>
&gt; A: Because it breaks the logical sequence of discussion<br>
&gt; Q: Why is top posting bad?<br>
&gt;<br>
&gt; ()  ascii ribbon campaign - against html e-mail<br>
</div>&gt; /\  <a href="http://www.asciiribbon.org" target="_blank">www.asciiribbon.org</a>&lt;<a href="http://www.asciiribbon.org" target="_blank">http://www.asciiribbon.org</a>&gt;   - against proprietary attachments<br>


<div class="im">&gt;<br>
&gt; This mail was not scanned before sending.<br>
&gt; It was sent from a secure Linux desktop.<br>
&gt; --<br>
&gt;<br>
</div>&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a>&lt;<a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a>&gt;<br>
<div class="HOEnZb"><div class="h5">&gt;<br>
&gt; 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>
&gt;<br>
&gt; 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>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
&gt;<br>
&gt;<br>
<br>
--<br>
Best regards/Schöne Grüße<br>
<br>
Martin<br>
<br>
A: Because it breaks the logical sequence of discussion<br>
Q: Why is top posting bad?<br>
<br>
()  ascii ribbon campaign - against html e-mail<br>
/\  <a href="http://www.asciiribbon.org" target="_blank">www.asciiribbon.org</a>   - against proprietary attachments<br>
<br>
This mail was not scanned before sending.<br>
It was sent from a secure Linux desktop.<br>
--<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>
</div></div></blockquote></div><br></div>