[Lazarus] Build and macros

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Jul 24 15:44:17 CEST 2010


On Sat, 24 Jul 2010 15:18:36 +0200
Kjow <antispammoni at gmail.com> wrote:

> 2010/7/24 Mattias Gaertner <nc-gaertnma at netcologne.de>:
> > On Sat, 24 Jul 2010 13:11:31 +0200
> > Kjow <antispammoni at gmail.com> wrote:
> >
> >> Hi all,
> >>
> >> with macros (http://wiki.lazarus.freepascal.org/IDE_Macros_in_paths_and_filenames)
> >> I see that I can build project binary with the target CPU.
> >>
> >> e.g. putting in "Target file name" this: MyProject-$(TargetCPU)
> >> the output binary will be something like this: MyProject-arm or MyProject-i386
> >>
> >> But I didn't find the way to include the build number at the end of
> >> file name (eg. MyProject-$(TargetCPU)-$(BuildVersionNumber) ->
> >> MyProject-i386-0.0.0.1). Is it possible in some ways?
> >
> > No.
> >
> > Mattias
> 
> Umm ok, thanks.
> And can I access to resources simply with an external program? I mean,
> if i can access to the versioninfo with a script or a program, I could
> run it automatically after the build to rename the binary builded...

Yes, of course.

You can also create a feature request in the bug tracker.


Mattias




More information about the Lazarus mailing list