
After adding the search path(s) with a semicolon macros are replaced and relative paths are extended by the package/project directory. The / and \ characters are automatically converted to the current path delimiter. UnitPath: appended to Other Source Files (-Fu).The conditionals script can define some variables which values are used by the IDE for the compiler options: The conditionals use a simple scripting language.Ĭhanging compiler options with conditionals You can set the conditionals via Project / Project Options / Compiler Options / Other / Conditionals.īuild macros and conditionals exist since Lazarus 0.9.29. You can set the build macros via Project / Project Options / Compiler Options / Additions and Overrides. They use a pascal like scripting language allowing to define even complex rules.
LAZARUS FPS MAC ICON FOR MAC OS
For example you can use them to define special linker options when compiling for Mac OS X. ).Ĭonditionals are rules allowing to set macros depending on the target platform and/or other macros. A prominent example is the LCLWidgetType, which is defined by the package LCL and allows to choose the widget set (carbon, gtk, qt, win32, wince. Build macros are project/package specific macros. Macros can be used in search paths and file names to let the IDE automatically adapt them to the target platform. 4.6 Adding a macro for search paths to handle different platforms.4.5.2 A special release/debug mode for one package.4.5.1 A release/debug mode for your project and all your packages.
LAZARUS FPS MAC ICON FOR MAC OS X
