Conditional Defines lazarus / 13-General ---------------------------------------------------------------------- Robert Gilland · 2010-06-17 17:27 In Delphi there is a section for "conditional defines" in the "project options" dialog box. I have looked everywhere for this in lazarus and I cannot find it? How can i set a project wide "conditional define" in lazarus? Kind Regards, Robert ---------------------------------------------------------------------- typo · 2010-06-17 17:30 {$IFDEF SOMETHING} code {$ENDIF} ---------------------------------------------------------------------- Robert Gilland · 2010-06-17 18:39 Yes but how do you define "SOMETHING" in the project options so it applies to all units in the project? ---------------------------------------------------------------------- typo · 2010-06-17 19:47 http://wiki.lazarus.freepascal.org/LCL_Defines#Recompiling_LCL_with_a_ define ---------------------------------------------------------------------- Robert Gilland · 2010-06-17 19:59 thanks ---------------------------------------------------------------------- Leledumbo · 2010-06-17 20:57 Compiler Options->Additional compiler options -dSOMETHING