On Mon, 13 Feb 2017 09:34:09 -0700 (MST) fredvs <fi...@hotmail.com> wrote:
> > The compiler already does this. > Yes, that I know, for one unit, but try this: I guess you are searching for {$unitpath Documents} The problem with this directive is that it only works correct in the program. FPC allows it in units too, but then some units might not rebuild automatically, so you must rebuild always clean. Mattias _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal