Chris,

    I agree this works great and that was sort of my point; however, 
Jun-Kiat said "In CodeWarrior, you would use Targets instead of #ifdefs."
and I did not understand how a new target negates the need for a #ifdef.

Ron


>that's what i do.  it works great.  i'm not really sure what else you'd be
>looking for.  
..
>
>do you mean you want to exclude specific file from one or more targets?
>select the file in the project window, then hit Alt-Enter (or click the
>Project Inspector toolbar button or choose Window->Project Inspector).  
>make
>sure the Targets tab is selected, and then check/uncheck the desired
>targets.
..
> 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 ?
..
> 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.
..
> Rgds,
> Jun-Kiat Lam
> Metrowerks Technical Support


Reply via email to