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"><<a href="mailto:martin.koller@etm.at" target="_blank">martin.koller@etm.at</a>></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>
> 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'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 "execute_process(COMMAND svn add ${f})")<br>
endforeach()<br>
<br>
><br>
> regards<br>
> Vivek Goel<br>
<div class="im">><br>
><br>
><br>
> On Sun, Dec 9, 2012 at 12:59 AM, Martin Koller <<a href="mailto:martin.koller@etm.at">martin.koller@etm.at</a><mailto:<a href="mailto:martin.koller@etm.at">martin.koller@etm.at</a>>> wrote:<br>
> On Friday 07 December 2012 07:37:38 Vivek Goel wrote:<br>
> > Hi,<br>
> > I am using cmake install target to copy files to directory.<br>
> > Is there a way I can tell cmake to automatically add destination files in svn repo ?<br>
> ><br>
> > regards<br>
> > Vivek Goel<br>
><br>
> What about an additional install rule, e.g.<br>
> install(CODE "execute_process(COMMAND svn add ${theFile})")<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>
</div>> /\ <a href="http://www.asciiribbon.org" target="_blank">www.asciiribbon.org</a><<a href="http://www.asciiribbon.org" target="_blank">http://www.asciiribbon.org</a>> - against proprietary attachments<br>
<div class="im">><br>
> This mail was not scanned before sending.<br>
> It was sent from a secure Linux desktop.<br>
> --<br>
><br>
</div>> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><<a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a>><br>
<div class="HOEnZb"><div class="h5">><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>
><br>
><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>