On Mon, 30 Aug 2010 10:22:47 +0200 Andreas Schneider <[email protected]> wrote:
> > On Mon, 30 Aug 2010 09:05:46 +0100, Frank Church <[email protected]> > > 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 -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
