Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2006-04

Recursive unit/include search path

4 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

L505

-Fu/home/me/project1/units/*.*

Is there an existing recursive option like this for -Fu and -Fi?

Could be useful, but dangerous if directories contain different versions of the source file in different places.

Still, in many projects I get sick of continually adding new directories to the search path - and in many projects there are not more than one version of a source file kicking around.

Peter Vreman
to L505: -Fu/home/me/project1/units/*.* Is there an existing recursive option like this for -Fu…
Show quoted text 13 lines
-Fu/home/me/project1/units/*.* Is there an existing recursive option like this for -Fu and -Fi? Could be useful, but dangerous if directories contain different versions of the source file in different places. Still, in many projects I get sick of continually adding new directories to the search path - and in many projects there are not more than one version of a source file kicking around.

There is only simple wildcard support like:

-Fu/home/fpc/packages/base/*/units/$fpctarget

Recursive is too error prone and therefor not usefull

L505
to Peter Vreman
-Fu/home/fpc/packages/base/*/units/$fpctarget Recursive is too error prone and therefor not usefull

thanx to all who replied, that's what I was looking for, not true recursive, just wildcards