[Lazarus] Another conditional defines dialog question

Juha Manninen juha.manninen62 at gmail.com
Fri Mar 20 12:02:59 CET 2015

On Fri, Mar 20, 2015 at 10:02 AM, Graeme Geldenhuys
<mailinglists at geldenhuys.co.uk> wrote:
> Why are there two Conditional Defines dialogs in Lazarus IDE?
>   ide/condef.pas
>   ide/CustomDefines.pas

They have different purpose and usage.

Unit condef implements the Source -> Enclose in $IFDEF feature.

Unit CustomDefines helps the user to manage a list of defines to be
passed to compiler.
You can open it in Project Options -> Compiler Options -> Other -> Defines ...
It is a front-end to Custom options memo, but it keeps a list of
unselected defines, too.

Maybe the unit CustomDefines should be renamed to something else,
there are properties named CustomDefines.


More information about the Lazarus mailing list