[Interest] compile SVN-Version into Project with qmake

Philipp Menke philipp.menke at freenet.de
Wed Feb 8 20:09:19 CET 2012


Hi,
I would like to compile the current Revision of my repository into my 
code. How could I manage this with qmake?

I think one could use "svn info | grep Revision" or sth like that to get 
the current Revision number and pass this as a preprocessor-Define into 
gcc.
But how could I have this been done automatically?

Do you have any idea how to realise?



Philipp





More information about the Interest mailing list