[fpc-pascal] uses myunit in '../src/myunit.pas' ?

fredvs fiens at hotmail.com
Mon Feb 13 23:02:28 CET 2017

> 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.


Many thanks ;-)
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/uses-myunit-in-src-myunit-pas-tp5727626p5727654.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.

More information about the fpc-pascal mailing list