Search code examples
lazarusfreepascal

How to define compiler symbol in Lazarus IDE?


I need to define compiler symbol (say MYSYMBOL) in Lazarus project options (Lazarus 2.0.2) and cannot find how to do it.

That is, I need an equivalent of

{$DEFINE MYSYMBOL}

defined in project options which I guess will be transformed into compiler option -dMYSYMBOL.

How to do it?


Solution

  • You will find the project settings for compiler options under Custom Options