[Interest] compile SVN-Version into Project with qmake
Scott Aron Bloom
Scott.Bloom at onshorecs.com
Wed Feb 8 20:13:41 CET 2012
It can be done with QMake but its not easy... It is trivial with
CMake...
That said, for QMake environments, I usually have a kick off script that
I write to do just this
Scott
-----Original Message-----
From: interest-bounces+scott=onshorecs.com at qt-project.org
[mailto:interest-bounces+scott=onshorecs.com at qt-project.org] On Behalf
Of Philipp Menke
Sent: Wednesday, February 08, 2012 11:09 AM
To: Qt Interest
Subject: [Interest] compile SVN-Version into Project with qmake
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
_______________________________________________
Interest mailing list
Interest at qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
More information about the Interest
mailing list