[fpc-pascal] set output directory for resources
Michael Van Canneyt
michael.vancanneyt at wisa.be
Thu May 3 00:07:07 CEST 2007
On Wed, 2 May 2007, Vincent Snijders wrote:
> Vincent Snijders schreef:
> > Hi,
> >
> > If I compile a unit which contains {$R wincemenures.res} a file named
> > wincemenures.or is created in the source directory, even if I have set -FU
> > or -FE. What parameter do I need to pass to the compile to move the .or file
> > to the unit output directory?
>
> Nobody answered, so I decided to dive into the compiler source myself and I
> think always the source directory is used.
>
> Attached patch changes this to the output directory of the currently compiled
> module. Is this ok?
Yes, it seems to me that this is OK. This should normally obey -FU or -FE.
Michael.
More information about the fpc-pascal
mailing list