[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Getting svnversion text into VC6 VERSIONINFO block

From: Kenneth Porter <shiva_at_sewingwitch.com>
Date: 2007-12-06 22:29:11 CET

Has anyone gotten VC6 to run svnversion and automatically incorporate its
text into a resource file VERSIONINFO block?

I've found information on how to do this in VC8, but not VC6.

In a batch file I can do this to capture the svnversion information to a
synthesized header file:

FOR /F "usebackq" %%s IN (`svnversion ..\..`) DO echo #define SVNVERSION
"%%s" > svn-version.h

But I can't figure out how to invoke it from the IDE as part of the build
process, before the resource compiler runs on my .rc file.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Dec 6 22:29:31 2007

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.