[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Adding date/version information to project??
From: |
Dave Hylands |
Subject: |
Re: [avr-gcc-list] Adding date/version information to project?? |
Date: |
Tue, 29 Nov 2005 23:36:48 -0800 |
Hi Matt,
> Having solved all that, I wanted to add an auto-incrementing build
> number to the build process, which lives in program memory. Here's how I
> did it:
One slight enancement to consider. If you make the file which contains
the build number look like this:
=====8><--------------------------------------------------------------
# This is the current build number of the latest build
# DO NOT EDIT THIS FILE - it is updated automagically
# by the build process.
BUILDNUMBER=6
=====8><--------------------------------------------------------------
Then the file can be included by make (in case you want to include the
build number in part of a generated filename) or similarly it can be
sourced by a shell script.
--
Dave Hylands
Vancouver, BC, Canada
http://www.DaveHylands.com/
- Re: [avr-gcc-list] Adding date/version information to project??, (continued)
- Re: [avr-gcc-list] Adding date/version information to project??, John Altstadt, 2005/11/28
- Re: [avr-gcc-list] Adding date/version information to project??, David Kelly, 2005/11/29
- Re: [avr-gcc-list] Adding date/version information to project??, Anton Erasmus, 2005/11/29
- Re: [avr-gcc-list] Adding date/version information to project??, Bruce D. Lightner, 2005/11/29
- Re: [avr-gcc-list] Adding date/version information to project??, Bruce D. Lightner, 2005/11/29
- RE: [avr-gcc-list] Adding date/version information to project??, Matt.VanDeWerken, 2005/11/29
- RE: [avr-gcc-list] Adding date/version information to project??, Matt.VanDeWerken, 2005/11/29
- RE: [avr-gcc-list] Adding date/version information to project??, Matt.VanDeWerken, 2005/11/29
- RE: [avr-gcc-list] Adding date/version information to project??, Matt.VanDeWerken, 2005/11/29
- Re: [avr-gcc-list] Adding date/version information to project??,
Dave Hylands <=
- RE: [avr-gcc-list] Adding date/version information to project??, Matt.VanDeWerken, 2005/11/30