Thanks I modified cmake unistall example for my purpose: http://www.cmake.org/Wiki/CMake_FAQ#Can_I_do_.22make_uninstall.22_with_CMake.3F
regards Vivek Goel On Sun, Dec 9, 2012 at 2:21 AM, Martin Koller <[email protected]> wrote: > On Saturday 08 December 2012 20:56:49 Vivek Goel wrote: > > 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 ? > > I'm not that experienced with cmake... > What about the following: > > set(SOURCES > file1 > file2 > file3 > ... and so on > ) > > foreach(f ${SOURCES}) > install(CODE "execute_process(COMMAND svn add ${f})") > endforeach() > > > > > regards > > Vivek Goel > > > > > > > > On Sun, Dec 9, 2012 at 12:59 AM, Martin Koller <[email protected] > <mailto:[email protected]>> wrote: > > On Friday 07 December 2012 07:37:38 Vivek Goel wrote: > > > Hi, > > > I am using cmake install target to copy files to directory. > > > Is there a way I can tell cmake to automatically add destination files > in svn repo ? > > > > > > regards > > > Vivek Goel > > > > What about an additional install rule, e.g. > > install(CODE "execute_process(COMMAND svn add ${theFile})") > > -- > > Best regards/Schöne Grüße > > > > Martin > > > > A: Because it breaks the logical sequence of discussion > > Q: Why is top posting bad? > > > > () ascii ribbon campaign - against html e-mail > > /\ www.asciiribbon.org<http://www.asciiribbon.org> - against > proprietary attachments > > > > This mail was not scanned before sending. > > It was sent from a secure Linux desktop. > > -- > > > > Powered by www.kitware.com<http://www.kitware.com> > > > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > > > Please keep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/CMake_FAQ > > > > Follow this link to subscribe/unsubscribe: > > http://www.cmake.org/mailman/listinfo/cmake > > > > > > -- > Best regards/Schöne Grüße > > Martin > > A: Because it breaks the logical sequence of discussion > Q: Why is top posting bad? > > () ascii ribbon campaign - against html e-mail > /\ www.asciiribbon.org - against proprietary attachments > > This mail was not scanned before sending. > It was sent from a secure Linux desktop. > -- > > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/CMake_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/listinfo/cmake >
-- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
