You almost never need to add a unit path yourself.
Add instead one of the units of each directory to the owner (package or
project). For example add a unit of 'src' to the package. Add a unit of
'examples' to the project. Of course the package directory (.lpk) is always
part of the package. And the project directory (.lpi) is always part of the
project.
This way the IDE knows, which search paths should be applied to each
directory: The package search paths to the 'src' directory and the project
search paths to the 'examples'.

Thanks Mattias, the above worked like a charm.  I knew the compiled
path of a package "lib\$(TargetCPU)-$(TargetOS)" was added
automatically, but thought I had to add the source paths myself.
Lazarus is way to cleaver for me... :-)

Thanks again!

 - Graeme -

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

Reply via email to