[Lazarus] Build modes, macros and conditionals

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Oct 29 10:06:36 CEST 2010


On Fri, 29 Oct 2010 09:48:39 +0200
Zaher Dirkey <parmaja at gmail.com> wrote:

> On Sun, Oct 24, 2010 at 10:49 PM, Mattias Gaertner <
> nc-gaertnma at netcologne.de> wrote:
> 
> > Hi all,
> >
> > There are some new options to create
> > * sets of compiler options - called "Build modes",
> > * project and package macros - called "Build macros"
> > * and rules to set macros, paths and options automatically depending on
> > target platform - called "Conditionals".
> >
> > See here for details and examples:
> >
> > http://wiki.lazarus.freepascal.org/IDE_Window:_Compiler_Options#Build_modes
> > http://wiki.lazarus.freepascal.org/Macros_and_Conditionals
> >
> > Please test.
> >
> > Important compatibility note:
> > When opening a new project with an old IDE, you will only see the
> > default mode. If you save the project with the old IDE you will loose
> > all other modes, all macros and conditionals.
> >
> >
> >
> I prefer to be a Combobox in the top of the options form, to easy swtich
> between profiles.
> And the compiler options must include debugger to override the IDE options
> debugger, for WINCE debug we choose another gdb.exe.

Note: At the moment the debugger exe is part of the global options - not
part of the project.


Mattias




More information about the Lazarus mailing list