Is there a way to set a build macro that affects compilation? lazarus / 13-General ---------------------------------------------------------------------- vfclists · 2016-03-11 00:50 I am still  looking at http://wiki.freepascal.org/Macros_and_Conditionals. Is there a way to set a compile time option in the build macros dialog or one of the other related dialogs that gets sets an option in the code? eg. I have a conditional compliation such as $ifdef yyyyy   add this code $endif Can the Build Macro dialog be used to define yyyyy so that enabling or disabling in the dialog affects it in the code, with out having enable or disable a $define command in the source code itself? There is one more thing on the page about the example Adding a macro for search paths to handle different platforms Is Pkg1_Backend a value that can be added to a path such as the Libraries or Include files path, like lib\$(Pkg1_backend) ? eg.