Am Mittwoch, 31. Oktober 2012 um 16:46:53, schrieb Jean-Marc Lasgouttes 
<lasgout...@lyx.org>
> Le 31/10/2012 16:41, Kornel Benko a écrit :
> > git log -1 --format="%H %ci"
> 
> Or simply
>    git log -1 --format="%h"
> 
> What I do not know is where to put such code so that it is always up to 
> date. This should replace the date for development releases.
> 
> JMarc

I think, it should go to configure.ac.
To prevent unneeded recompilation, the defines should not go to
created config.h.
Like in cmake-build maybe to a file included only by version.cpp.

        Kornel

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to