[Lazarus] New compiler options page "Additions and Overrides"

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Jun 8 00:40:57 CEST 2013


On Fri, 07 Jun 2013 21:23:46 +0100
Martin <lazarus at mfriebe.de> wrote:

> On 06/06/2013 22:48, Mattias Gaertner wrote:
> > Hi all,
> >
> > The page in the "Project options / Compiler options / IDE Macro Values"
> > was replaced with a more powerful page "Additions and Overrides".
> >
> Kudos and more....
> 
> IMHO the "stored in" could be a "dropdown" (like 
> custow/ide-macro/outdir) in each row.
> then the actual matrix, would have less disruptions.

The order of the three is fixed. It goes from settings for
all projects, over the shared options of one project, to the user
specific options of one project.
Theoretically there could be three checkboxes to hide and show the
three storages, but IMO that is more confusing.

 
> Each "Target" would then appear only once. And the "stored in" would be 
> sorted (and thereby grouped) in each target block.

The order does matter and putting an option in the wrong storage
can have serious effects. For example if you accidentally put a session
option into the project, you will break your team mates code.
If you accidentally put a project option into the IDE you might break
your other projects.
IMO the storage and scope of an option must be made very clear to
avoid such accidents.

I will add a todo to let the IDE warn, when you compile a project that
changes the output directory of packages.

Mattias




More information about the Lazarus mailing list