Valhalla Legends Forums Archive | C/C++ Programming | Automatic version increment

AuthorMessageTime
UserLoser.
I'm using MSVC++ 6.0, and I'm wondering if there's a way that everytime I compile, I can make the compiler automatically increment the FILEVERSION/PRODUCTVERSION value by one, so I don't have to manually do it. What I'm talking about is:

[img]http://www.userloser.net/images/fileversion.png[/img]
March 14, 2004, 12:43 AM
Skywing
The simplest way would be to write a simple program to run as a pre/post build step and modify the .rc file.
March 14, 2004, 12:57 AM
UserLoser.
[quote author=Skywing link=board=30;threadid=5764;start=0#msg49274 date=1079225830]
The simplest way would be to write a simple program to run as a pre/post build step and modify the .rc file.
[/quote]

Thanks, I'll go do that now. I'm still not that familiar with MSVC++ yet, and was unaware of what pre/post build steps did since I never bothered with them.
March 14, 2004, 1:13 AM

Search