[fpc-pascal] uses myunit in '../src/myunit.pas' ?
Michael Van Canneyt
michael at freepascal.org
Tue Feb 14 10:18:44 CET 2017
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.
More information about the fpc-pascal
mailing list