[Lazarus] Search paths per platform

Zaher Dirkey parmaja at gmail.com
Fri Sep 9 19:23:28 CEST 2011


On Fri, Sep 9, 2011 at 8:16 PM, 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.
>
> On Windows, the synapse directory is installed on ../../synapse, for
> example.
>
> I would be nice to have conditionals or build modes for each platform.
>

I use Project Options-> Build Mode
But i dont now how to make it autoswitch, maybe by using "In Session".

Zaher Dirkey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20110909/6b22751b/attachment-0003.html>


More information about the Lazarus mailing list