[Lazarus] embed git version info

Xiangrong Fang xrfang at gmail.com
Thu Mar 28 06:57:30 CET 2013


2013/3/27 Lukasz Sokol <el.es.cr at gmail.com>

> On 27/03/2013 14:18, Xiangrong Fang wrote:
> >     > How can I embed git version info AUTOMATICALLY while I compile my
> program
> >
> >     > in lazarus, just like {$I %DATE%} ?
> >
> >     Use a pre-compile script (Project Options|Compiler
> >     Options|Compilation|Execute Before) in combination with a include
> file.
>

I thought {$I revision.inc} is similar as {$I %DAT%}, but apparently they
have different semantic.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130328/fae89102/attachment-0003.html>


More information about the Lazarus mailing list