This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

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.

Parents
  • 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.

Reply
  • 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.

Children
No data