On Mon, 13 Feb 2017, fredvs wrote:

I guess you are searching for {$unitpath Documents}

Yes, it is a excellent solution.

 but then some units might not rebuild automatically,

It is not a problem, all that units are part of ../src and users should not
touch it when compiling demos.

Many thanks Mathias for this pearl.

PS: I wish that one day fpc will publish the complete list of all  the
{$something  ...} that  fpc can deal.

This list has always existed. I wrote it:

http://www.freepascal.org/docs-html/current/prog/prog.html

Your remark shows how hard you looked for it.

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to