[Lazarus] Compile project release with LCL custom optimization

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Apr 16 13:30:59 CEST 2013


On Tue, 16 Apr 2013 14:21:08 +0300
Zaher Dirkey <parmaja at gmail.com> wrote:

> On Tue, Apr 16, 2013 at 11:18 AM, Mattias Gaertner <
> nc-gaertnma at netcologne.de> wrote:
> 
> > Yes.
> > Although it might be a good idea to add a macro for the name of
> > the active build mode and I guess BuildMode is a good name for that.

I added that.

 
> ​Good and not :P​
> 
> ​Here, it is not good to pass it to the packages include LCL and maybe (FCL
> even the FPC pascal one) when compile the project, because it it is variant
> name.

Can you explain this?

 
> My need the build take Debug dirs (*.o units) if we define Debug or Release
> dirs when define Release, let name it BuildState (i am not good in naming)

I got the feeling, you are still at only two modes.

 
> We need this also even compile FPC projects, so ​(non LCL), i think FPC
> developer can take a look to this thread.

The compiler has nothing to do with build modes.

Mattias




More information about the Lazarus mailing list