On Mon, 11 May 2020 10:56:32 +0700
Ryan Joseph via fpc-pascal <fpc-pascal@lists.freepascal.org> wrote:

> > On May 10, 2020, at 4:47 PM, Mattias Gaertner via fpc-pascal
> > <fpc-pascal@lists.freepascal.org> wrote:
> > 
> > TDefineTemplates.
> > see for example
> > lazarus/components/codetools/examples/setincludepath.pas
> >   
> 
> Ok, I'll move to this. What are the FPC options for then? I thought I
> could do things like -Fu and -d with it.

Yes, you can.
They are treated like global options, i.e. as if added to the fpc.cfg.
 
> Are include paths and unit paths the same?

No.


> I just see TDefineTemplate which seems to do both.

There are separate macros.


Mattias
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to