[Lazarus] Run builds with different FPC versions

Mark Morgan Lloyd markMLl.lazarus at telemetry.co.uk
Tue Jun 8 11:11:06 CEST 2010


Mattias Gaertner wrote:

>> I find that the "FPC source directory" setting appears to accept a macro 
>> $FPCVer(), but the "Compiler path" does not. Irrespective of whether 
>> what I'm trying to do is crazy, am I missing anything obvious?
> 
> Yes. The FPCVer macro gets the fpc version from the compiler.

Is the version number on the "about" box also got from the compiler, or 
is that determined at build time? If it's hardwired, is there a macro to 
access it?

> Both formats are accepted. 
> The format $Name(Parameters) is used for macro functions.
> The format $(Name) indicates a macro variable.
> 
> See here:
> http://wiki.lazarus.freepascal.org/IDE_Macros_in_paths_and_filenames

Thanks for that, noted.

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]




More information about the Lazarus mailing list