[CMake] Using cmake install target to add into svn directory

Martin Koller martin.koller at etm.at
Sat Dec 8 14:29:34 EST 2012


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   - against proprietary attachments

This mail was not scanned before sending.
It was sent from a secure Linux desktop.


More information about the CMake mailing list