[Lazarus] about infobuild form development

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Jun 19 11:28:44 CEST 2014


On Thu, 19 Jun 2014 11:37:19 +0300
FreeMan <freeman35 at delphiturkiye.com> wrote:

> I'll changed mail subject.
> 
> 19-06-2014 02:55 tarihinde, Mattias Gaertner yazdı:
> > What compiler directive?
> > A compiler directive is for example "{$mode objfpc}".
> > Maybe you mean something else?
> I was use antique hellenic city name, so I used to much that.
>    {$IFNDEF EnableOldExtTools}ExtTools,{$ELSE}InfoBuild,{$ENDIF} if tell 
> condition to compiler, its mean directive, never mind, I'm still not 
> used to lazarus
> "Show compiler dialog" check box removed from IDE options, so I need to 
> active when IDE start compile, infobuild form have to show. I hope 
> traslate my self :)

You can do the following:
Add a flag to configure build lazarus dialog. For example
-dEnableCompInfoWnd

Then replace each

{$IFNDEF EnableOldExtTools}Something{$ELSE}InfoBuild,{$ENDIF}

with

{$IFNDEF EnableOldExtTools}Something{$ENDIF}
{$IFDEF EnableCompInfoWnd}InfoBuild,{$ENDIF}

This way your changes activates only when the IDE is compiled with the
flag. You can then send us patches even if they are not yet fully
functional. When it is complete, the IFDEFs can be removed.
This allows others to help with specific questions or to tell early when you are on the wrong track.

Mattias




More information about the Lazarus mailing list