[Lazarus] Compile project release with LCL custom optimization

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Apr 15 20:21:25 CEST 2013


On Mon, 15 Apr 2013 20:41:34 +0300
Zaher Dirkey <parmaja at gmail.com> wrote:

> Our problem here
> I like to define a Many named Build profiles(Modes), for example, i want to
> build my project with special defines to make project for "Pascal" or "PHP"
> or "ALL"
> and for WINCE Wegetset etc. many of them.
> But we need debugging it when compile it in IDE, not the project only also
> many components have it in other packages.
> And we need to release it without debug info that mean need another
> Dimension for Build Modes/Profiles, at least DEBUG and RELEASE for all
> Build Modes/Profiles
> Also Lazarus and its Components must have 2 of dir one for Debug other for
> Release depend what we choose of current mode, that prevent from rebuild
> all of packages every time changing from DEBUG to Release and vise versa.

To get more variations in output directories you have to alter the
packages (lpk).
To add options to packages as well.

Eventually such additions will be configurable in the IDE.

Mattias




More information about the Lazarus mailing list