Burning svn revision into binaries
From: Justin Verity <jtverity_at_gmail.com>
Date: 2007-02-27 16:15:41 CET
I am trying to put the SVN revision # in my binaries
In my Makefile I do this:
SVNDEF := -D'SVN_REV="$(shell svnversion -n .)"'
And in my user code I do this:
cout << "SVN Revision is " << SVN_REV << endl;
But the output I get is:
"SVN Revision is exported"
Can anyone help?
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.