[fpc-pascal] Code tools search paths

Mattias Gaertner nc-gaertnma at netcologne.de
Mon May 11 11:55:59 CEST 2020


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

> > On May 10, 2020, at 4:47 PM, Mattias Gaertner via fpc-pascal
> > <fpc-pascal at 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


More information about the fpc-pascal mailing list