On Fri, 19 Jun 2015 12:38:39 +0100
Graeme Geldenhuys <[email protected]> wrote:

> On 2015-06-19 12:09, aradeonas wrote:
> > So 'Custom options' work like 'Additions and Overrides' but second one
> > is more specific?
> 
> I believe Mattias said it all. As far as I understand "Additions and
> Overrides" pass settings on to packages too.

It allows any combination. Only project, only packages, only
one packages, all packages except one, etc ...


> The "Custom Options" allows
> you to add any compiler settings, and only apply them to the specific
> project (not passed on to package dependencies).
> 
> In the example I attached I didn't use packages, so the difference is
> probably moot.
> 
> TIP:
> Created a new project, set your most often used IDE Macros (eg:
> tiopf:=/data/devel/tiopf/), then tick the "Set compiler options as
> default" and click OK. Now wherever you create a new project, your most
> used IDE Macros are already defined. Every little bit helps save time. ;-)

Note: The "tiopf:=/data/devel/tiopf/" is an absolute path, so when you
give your projects to another developer, he has to change
this macro in every project and every time you give him a new copy.

As alternative you can use "Addition and Overrides" to add the
macro to all your projects. The other developer only needs to do this
once as well.

Mattias

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to