[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Code version timestamp
From: |
epasquier |
Subject: |
Re: [avr-gcc-list] Code version timestamp |
Date: |
Wed, 14 Sep 2005 14:16:47 +0200 |
User-agent: |
Internet Messaging Program (IMP) 3.2.6 |
I am in tunning phase so I am looking for something more "dynamic" than CVS,
i.e. the compilation/link time ...
Quoting Joerg Wunsch <address@hidden>:
> address@hidden wrote:
>
> > I would like to display a "code version" (date/time or incremental
> > number) during init on an LCD display.
>
> If you're using CVS, you can get the date of the last checkin of
> a particular module by
>
> const char foo[] = "$Date$";
>
> CVS will replace that by something like
>
> const char foo[] = "$Date: 2004/03/27 20:01:37 $";
>
> If you place that in a single file of its own that you're only cvs
> committing via "cvs commit -f" (forced commit) once you want to switch
> the date code, you'll basically get what you want.
>
> --
> J"org Wunsch Unix support engineer
> address@hidden http://www.interface-systems.de/~j/
>
>
> _______________________________________________
> AVR-GCC-list mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
>