Project in Delphi 2007, stored in SVN.
"Project settings - version info" - there the project version is stored. When changing the project version *.dproj file and *.res file are changing. And I have to commit them to SVN every time when project version changes.
I want to manage project version with SVN. For example, when building the project from svn tag named "1.12.2" and revision 12993 I want to get a binary *.exe file with version 1.12.2.12993.
To make it, I should create a *.rc file with text presentation of version info. Then make a *.res file and include it to project with {$R version.res}
What shold I write to *.rc file? What should it's structure look like? White an example, please.
Thanks.