[Lazarus] Search paths per platform

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Sep 12 18:39:18 CEST 2011


On Mon, 12 Sep 2011 17:49:50 +0200
Joost van der Sluis <joost at cnoc.nl> wrote:

> On Fri, 2011-09-09 at 14:16 -0300, Leonardo M. Ramé 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.
> > 
> > On Windows, the synapse directory is installed on ../../synapse, for
> > example.
> 
> You really should not do this. I though you would know that when you add
> the synapse package as a dependency to your application, the path will
> be added automatically. So it doesn't matter where the package is
> installed.

Correct.
But in this case: the synapse package is broken and I did not receive
an answer yet.
Maybe we can provide a synapse package on lazarus-ccr?

 
> I wrote a blog-post about this last Friday, it's not really a how-to,
> but maybe you can find more information there:
> http://www.lazarussupport.com/lazarus/weblog/project_settings_in_delphi_and_lazarus

Mattias




More information about the Lazarus mailing list