Hi,

In Compiler Options, there is a 'Unit output directory (-FU)' option.
Currently if I set that value, then the compiled units and the
executable ends up in that directory. Meaning it works like the -FE
compiler switch.

Lets say I have the following directory layout.

<project>/bin
<project>/source
<project>/source/units

My projects .lpi file is located in the /source directory.  If I set
the 'Unit output directory' option in 'Compiler Options -> Paths',
then my compiled units go to /source/units *and* the executable goes
to /source/units.  This is wrong!!

If I leave the 'Unit output directory' editbox blank and rather set
the -FUunits switch manually  in 'Compiler Options -> Other', the
compiled units go to /source/units and the executable goes to /source.
This behavior is correct and is what happens if I compile my project
from the command line as well.

It seems that even though Lazarus gives us the hint that 'Unit output
directory (-FU)' uses the -FU switch it doesn't have the same result.
In fact it has the same result as the -FE switch which is 'exe/unit
output' directory.

Regards,
 - Graeme -

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to