[fpc-pascal] Free Pascal Directories
Michael Van Canneyt
michael at freepascal.org
Thu Oct 2 16:45:32 CEST 2014
On Thu, 2 Oct 2014, Brian wrote:
> Jonas , thanks very much as I now see what is happening.
>
> FPC only searches the specific directory and not any lower level
> directories. In this case the unit called is in a lower level directory.
>
> Is there any way using Geany to add $UNITPATH directives in the main program
> or path info in Geany so FPC is able to find the required units?
your best bet it to use a wildcard:
-Fu/path/to/my/dir/*
or, presumably:
{$UNITPATH /path/to/my/dir/* }
this will only search 1 level below 'dir', but maybe this is enough for your situation ?
Michael.
More information about the fpc-pascal
mailing list