Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2016-01

List of available defines

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Vojtěch Čihák

?
Hi,
?
is there some wiki or other place with list of available defines (for trunk)? ?
Currently, I have:
?
Debug
Verbose
WithSynMarkupIfDef
EnableCodeCompleteTemplates
EnableComponentPaletteOptions
WithSynMultiCaret
?
UseOIThemedCheckbox
?
but I guess some are obsolete and maybe there are some new, which I should try. ?
Thanks.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20160104/1a8c7748/attachment.html>

Reply by email

Juha Manninen
to Vojtěch Čihák
Vojt?ch ?ih?k wrote
is there some wiki or other place with list of available defines (for trunk)?

No. I have a plan to make a feature to search all such defines in project sources, maybe added to Project options, Custom options page, Defines ... window. I have other plans, too, and this one has only low priority. Anybody can steal my idea of course. (_Hint_)

Currently, I have: Debug Verbose

I don't think those are used anywhere. There were provided as examples in earlier Lazarus versions for the build defines GUI.

Show quoted text 5 lines
WithSynMarkupIfDef EnableCodeCompleteTemplates EnableComponentPaletteOptions WithSynMultiCaret UseOIThemedCheckbox

Your list is a little outdated. The last one was replaced with "UseOINormalCheckBox".

but I guess some are obsolete and maybe there are some new, which I should try.

Uhhh, there are plenty!
I would like to mention one : "DisableWrapperFunctions". I recommend using it because the string function wrappers will be removed some time later.

For other defines, if you Find in Files from Lazarus sources for "{$ifdef verbose" you get 3415 matches. That is only for defines starting with "verbose"!
Searching for a regular expression "\{\$ifn?def" gives almost 15000 matches. Browse them and you get all the defines in use.

Juha

Reply by email