IDE Macros, lazarus / 11-Options ---------------------------------------------------------------------- ROCABDEL · 2012-03-13 17:24 Hello Everyone. a small question about IDE Macros:   do I change the macros Lazarus through my macro in Conditionals? example:  if MyMacro = 'Win32_GTK2' then begin   TargetOS:= 'win32';  LCLWidgetType:= 'gtk2';  .... end else if  MyMacro = 'Win32_QT' then begin   TargetOS:= ''win32;   LCLWidgetType:= 'qt'; end .......; sorry for my english ---------------------------------------------------------------------- Leledumbo · 2012-03-14 03:23 No, IDE macros and compiler macros are different things. The former is only understood by the IDE, while the 2nd by the compiler as well. You can't play with the former since the compiler doesn't know about it. ---------------------------------------------------------------------- ROCABDEL · 2012-03-14 19:54 Thank you Leledumbo. me in 'Methods Buil' for my project I'm doing: Debug Debug_GTK2 Debug_Qt Debug_FPGUI Debug_CUSTOMDRAWN Debug_WINCE Release Release_GTK2 Release_Qt Release_FPGUI Release_CUSTOMDRAWN Release_WINCE .... and  I run lazarus for i386 or x86_64; This will be wonderful if only a macro that I created for my project can change all for lazarus and lazarus make the rest  Maybe this will make a proposal in "Suggestions"