Interesting, I use multiple targets but I still need #ifdef's so the code
can be include/excluded by the target.  The extra target just
allows me to define or not define to include/non include the code.

Am I missing a better way ?  
How can a target alter the code without #ifdef's ?

Ron

<pre>
In CodeWarrior, you would use Targets instead of #ifdefs. In the Project
window, select Targets, select Create Targets, Clone an existing Target and
then build this new target with debug information and libraries. This new
target will become the debug version of the target you cloned.

Hope this helps.

Rgds,
Jun-Kiat Lam
Metrowerks Technical Support

----- Original Message -----
From: Steve Austin <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 20, 1999 2:26 PM
Subject: #ifdef debug (or similar)


> Hi everyone,
>
> In CW5, is there a standard way to define code only for debugging?  
Should
I
> just do
>
> #ifdef debug
>
>    code...
>
> #endif
>
> Thanks,
>
> Steve
>
>


</pre>


Reply via email to