[Lazarus] Can the inclusion of a package in a project be made conditional?

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Aug 15 21:29:41 CEST 2011


On Sat, 13 Aug 2011 18:26:59 +0100
Frank Church <vfclists at gmail.com> wrote:

> I am trying out a package on Linux that has some packages used only by
> Windows. Is there a way to edit the .lpk file to make the inclusion
> conditional, so the Linux version doesn't attempt to compile it?

No.

Maybe this helps: 
Some ideas about platform specific units:
http://wiki.lazarus.freepascal.org/Lazarus_Packages#Platform_specific_units


Mattias




More information about the Lazarus mailing list