[Lazarus] Search paths per platform

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Sep 9 20:30:53 CEST 2011


On Fri, 9 Sep 2011 15:21:25 -0300
Leonardo M. Ramé <l.rame at griensu.com> wrote:

> On 2011-09-09 20:09:03 +0200, Mattias Gaertner wrote:
> > On Fri, 9 Sep 2011 14:16:27 -0300
> > Leonardo M. Ramé <l.rame at griensu.com> wrote:
> > 
> > > Hi, is there a way to setup unit search paths per platform?.
> > > 
> > > I usually develp for Linux and Windows, and some times, I use units that
> > > can't be accessed using the same relative paths on both platforms.
> > > 
> > > For example, on Linux I use:
> > > 
> > > ../synapse
> > > 
> > > To let the compiler find units from Synapse library.
> > 
> > Have you tried the Lazarus package 'laz_synapse.lpk' of Synapse?
> 
> Synapse was just an example, I use many other libraries in different
> directories.

We all do.

And fiddling around with search paths gets especially annoying when
working together with other people. That's why there are packages.

 
Mattias




More information about the Lazarus mailing list