On 2/13/2017 2:02 PM, 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.
You mean a duplicate of this page
http://wiki.freepascal.org/global_compiler_directives
Ralf
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal