[Lazarus] Search paths per platform

Leonardo M. Ramé l.rame at griensu.com
Fri Sep 9 19:16:27 CEST 2011


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.

Regards,
-- 
Leonardo M. Ramé
http://leonardorame.blogspot.com




More information about the Lazarus mailing list