[Lazarus] How to configure IDE for my own libraries?

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Aug 30 10:33:39 CEST 2010


On Mon, 30 Aug 2010 10:22:47 +0200
Andreas Schneider <aksdb at gmx.de> wrote:

> 
> On Mon, 30 Aug 2010 09:05:46 +0100, Frank Church <vfclists at gmail.com>
> 
> wrote:
> 
> > I am thinking along this line but I don't know how to go about. I
> 
> usually
> 
> > drag a component onto a project form for the components unit to be added
> 
> > to the file I am working on. My units are source units only, not
> 
> > components. What is the right way to add a non visual package to a
> 
> > project, no components, visual or otherwise, just plain source code? I
> 
> am
> 
> > yet to build a Lazarus package.
> 
> 
> 
> Then you could also add it to the search path in your fpc.cfg (add another
> 
> -Fu line). That way it works in /every/ program you compile. No need to
> 
> specify packages or anything else.

Beware: Only put search paths to ppu files in the fpc.cfg, do not add
search paths to sources. You risk creating multiple ppu files.


Mattias




More information about the Lazarus mailing list