[fpc-devel] fpmkunit patch

Peter Vreman peter at freepascal.org
Wed Nov 21 22:53:13 CET 2007


At 15:08 21-11-2007, you wrote:
>Here's a patch for fpmkunit.
>
>- implements Defaults.NoFPCCfg in TBuildEngine.GetCompilerCommand
>- added ttCleanOnlyUnit in TTarget.GetCleanFiles
>- fixes a dirty little bug in TBuildEngine.GetCompilerCommand 
>(compile filename)
>
>To come back to the last item;
>
>When fpmake is called from a deeper directory normally 
>Installer.Directory is set. This directory in turn is appended to 
>Target.FullSourceFileName. When you also set TTarget.Directory it 
>can result in a pathfilename like: mydir\..\src\lib.pas. This at 
>least is invalid on windows. By expanding the filename and then 
>making it relative again against the package directory it's solved.

Thanks. Patch Applied.


Peter




More information about the fpc-devel mailing list