include the svn revision in the --version info (wish 162179)

Petri Damstén petri.damsten at gmail.com
Fri Nov 21 06:34:24 GMT 2008


On Friday 21 November 2008 01:21:33 Alexander Neundorf wrote:
> This only runs if cmake runs. I.e. you can get a lot of updates via svn up
> but as long as no cmake file is changed this doesn't run again, so you will
> have a wrong svn revision.
> I wouldn't put it in as it is now.

In kmediafactory I did something similar and it depends on /.svn/entries which 
if I have understand correctly changes on svn up.
http://code.google.com/p/kmediafactory/source/browse/trunk/CMakeLists.txt
http://code.google.com/p/kmediafactory/source/browse/trunk/svnrev.cmake

Petri

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20081121/9d446c66/attachment.sig>


More information about the kde-core-devel mailing list