On Thu, 17 Nov 2005 20:11:09 +0100
Mattias Gaertner <[EMAIL PROTECTED]> wrote:

> On Thu, 17 Nov 2005 16:12:01 +0200
> Graeme Geldenhuys <[EMAIL PROTECTED]> wrote:
> 
> > Hi,
> > 
> > Coming from Delphi, I used to use different directories for my project 
> > file and my unit files.  I might even have sub-directories inside my 
> > \source directory.  This helped organise large projects.
> > 
> > e.g.:
> >    <Project Name>
> >      \bin             <-- executable goes here
> 
> Project -> Project Options -> Target filename
> 
> 
> >      \dcu             <-- compiled unit files go here
> 
> Project -> Compiler Options -> Unit output diretory
> 
> 
> >      \source
> 
> Save units here.

I forgot:
When you are using the 0.9.10 version, you have to manually add the source
directory to the unit path in the compiler options.


> 
> >      \?????.dpr       <-- I want my .lpi file here
> 
> Save .lpi file there. The .lpr will also be saved there.
> 
>  
> > How do I do this in Lazarus?  When I try to compile it says it can not 
> > find my units.  Delphi writes the path to the units in the project file.
> 
> The 'in' unit path has several drawbacks and should not be used.
> 
> Alternative:
> Put some of yor units into a package. Don't confuse a lazarus package with
> a Delphi package. Lazarus packages are designed to help splitting code
> into logical parts. They don't need to be a library. 
> 
> 
> Mattias
> 
> _________________________________________________________________
>      To unsubscribe: mail [EMAIL PROTECTED] with
>                 "unsubscribe" as the Subject
>    archives at http://www.lazarus.freepascal.org/mailarchives

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

Reply via email to