You can define a 'prefix file' for the target under C/C++ Language Options.

Which I take is a target dependant header type thing.

I use that to have different #defines for different targets or versions.
(say registered, unregisterd, trial, etc.) I would assume it would work for
macros too.)

= Palm-Dev-Forum Disclaimer Inspired by 'Joe' =============================
 The information provided above may not be complete or accurate.
 What works for this developer may not work for you.
 This information is offered in an attempt to help you with your question
 and is intended for that purpose only.  :)

 This information should be considered blatently wrong and potentially
 damaging until 'Joe' validates and approves it's worthyness for inclusion
 on this list.

 No purchase necessary, void where prohibited.  This Disclaimer may not
 apply to you if you live in Ohio, Kentucky, Indianna, or in "a Van down
 by the river"
===========================================================================


> From: "Akhilesh Singh" <[EMAIL PROTECTED]>
> Reply-To: "Palm Developer Forum" <[EMAIL PROTECTED]>
> Date: Sat, 13 Apr 2002 20:11:00 +0530
> To: "Palm Developer Forum" <[EMAIL PROTECTED]>
> Subject: Macro for a Target
> 
> 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.
> 
> Thanks
> Akhilesh
> 
> 
> -- 
> For information on using the Palm Developer Forums, or to unsubscribe, please
> see http://www.palmos.com/dev/support/forums/
> 


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

Reply via email to