|Date:||12/16/2003 5:17:54 AM|
|Subject:||The Macro I use in VS|
the macro itself that I use.
You can change it as you want, my buildversion.h file just has #define BUILDVERSION then a number in it 2 then it increments everything after the "2." on a successful compile. You can change the .rc file if you want, but since I hook into the buildversion for the server cvar "version" and also the console drop down, and a few menus I'd rather just use that.
some things I turn it into a string later, but that's just sprintf stuff.