[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:

# This is the current build number of the latest build
# DO NOT EDIT THIS FILE - it is updated automagically
# by the build process.


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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]