[Lazarus] Custom defines don't work?

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Jul 23 21:33:44 CEST 2014


On Wed, 23 Jul 2014 14:25:24 +0200
Reinier Olislagers <reinierolislagers at gmail.com> wrote:

> On 23/07/2014 14:10, Mattias Gaertner wrote:
> > The conditionals have only these predefined variables/functions:
> > http://wiki.lazarus.freepascal.org/Macros_and_Conditionals#Predefined_Variables
> Ah, thanks.
> 
> > 
> > Maybe FPC_FULLVERSION can be added.
> 
> Yes, I would really like that ;)

I added the IDE macro FPC_FULLVERSION and I added to conditionals the
function GetProjValue. The function only works in packages.
At the moment it supports only one parameter:
GetProjValue('FPC_FULLVERSION').

Mattias




More information about the Lazarus mailing list