[fpc-pascal] Code tools search paths

Mattias Gaertner nc-gaertnma at netcologne.de
Wed May 13 08:05:28 CEST 2020


On Wed, 13 May 2020 10:45:21 +0700
Ryan Joseph via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:

> > On May 11, 2020, at 8:02 PM, Ryan Joseph <genericptr at gmail.com>
> > wrote:
> > 
> > I wanted this to behave like the compiler normally does, that is
> > you supply paths to the units with -Fu and includes with -Fi. What
> > is the way to achieve that here?
> > 
> > For example in my test project I have the directory that contains
> > the program and another direction to test units in other
> > directories so I basically just want:
> > 
> > pp /path/to/test.pas -Fu/path/to/other_units  
> 
> I still haven't figured this out. I would be happy to use FPCOptions
> at init time but those break FindReferences for some reason.

Please create bug report with an example.

Mattias


More information about the fpc-pascal mailing list