>> How can I set DEBUG only when in Debug build mode? I had a look at the
>> wiki page and the Project Options, Build Macros but I'm a bit lost.
> You have to separate IDE macros and FPC macros.
> FPC macros are defined via the Compiler Options / Custom options, e.g.
> -dDEBUG.

Hi, delphi has IFOTP directive to do something like this, search more about
to see if can you use the same on FPC.
Here is one small example (portuguese)
http://www.evolutionsystems.com.br/?p=173


-- 
Atenc;
Elazar Dornelles Ceza
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to