[fpc-pascal] fpmake - append compiler options

Michael Van Canneyt michael at freepascal.org
Sat Jan 26 12:02:43 CET 2008



On Sat, 26 Jan 2008, L wrote:

> Using fpmake, how does one append a compiler option like
> 
> -dSOMEDEFINE
> 
> Or
> 
> -xxSomeOptionNotIntegratedYet

3 ways:

var 
  T : TTarget;
  P : TPackage;

T.Options:='-dSOMEDEFINE';
or
P.Options:='-dSOMEDEFINE';
or
Defaults.Options:='-dSOMEDEFINE';

Maybe in time, we'll add a 'Defines' property.

Michael.



More information about the fpc-pascal mailing list