Peter,

> I have a CW 9.3 project and I'd like to include resources based on the CW
> target.  For example, I'd like to have something like this in the
> RCP file:
>
> #if __ide_target("Debug")
> #define DEBUG
> #endif
>
> Is there a way to do this?

You can go into the Target Settings Panel, PilRC Settings, and in the Other
Parameters box, put something like:

-D DEBUG

Then in your .rcp file, you can simply do #ifdef DEBUG.

Tom Ward


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

Reply via email to