In article <83706@palm-dev-forum>, [EMAIL PROTECTED] says...
> 
> Hi,
> 
> How can I define a macro for a particular Target. eg in Release Target
> RELEASE is defined, that is not defined in Debug Target.
> 
> I am using CW8.

Use a different prefix file for each target.  If you currently have a 
prefix file set in the C/C++ Compiler settings, make your new prefix 
start by #including the old one, then setup all your macros you want 
defined just for that target... for example

        #include <PalmOS_Headers_Strict>
        #define RELEASE 1
        #define DEBUG 0

-- 
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Get help at http://palmoswerks.com/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to