Keil Logo Arm Logo

Auto-Increment Build Number

Next Thread | Thread List | Previous Thread Start a Thread | Settings

Details Message
Read-Only
Author
Garrett Chandler
Posted
25-Feb-2005 18:23 GMT
Toolset
C51
New! Auto-Increment Build Number
Anybody got a slick way to roll an auto-incrementing build number into uVision?

I want to end up with a string constant containing a number that I can maniputate in my C code. It really doesn't matter when it was incremented, as long as it happened sometime between build n-1 and build n.

Any help would be appreciated.
Read-Only
Author
Robert Wey
Posted
25-Feb-2005 18:43 GMT
Toolset
C51
New! RE: Auto-Increment Build Number
I guess one could write an app that would monitor the date/time of the output hex file and, when changed, increment the build number in an include file.

IMO, tho, that would be more of a hack than a solution.
Read-Only
Author
Mike Kleshov
Posted
25-Feb-2005 18:46 GMT
Toolset
C51
New! RE: Auto-Increment Build Number
This has been discussed here:
http://www.keil.com/forum/docs/thread780.asp

Regards,
- mike

Next Thread | Thread List | Previous Thread Start a Thread | Settings

Keil logo

Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

ARM’s Privacy Policy has been updated. By continuing to use our site, you consent to ARM’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.