Hi Chris, Niel here...

I'm trying to bring a GCC project into CW5.  A few days back your RCPALM 
code was talked about in conjunction with the resource import problem, but 
I don't find it anywhere...  Did I miss the location, or is it not available ??

Also, any other points you might share on the port would be appreciated too...

TNX
Niel

At 02:40 PM 8/20/99 -0700, you wrote:
>that's what i do.  it works great.  i'm not really sure what else you'd be
>looking for.  how else do you want to selectively enable portions of a file
>for specific build flavors?  i've always used #ifdef on every platform i've
>worked on, it's just how C/C++ work.
>
>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.
>
>
>----- Original Message -----
>From: <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Friday, August 20, 1999 1:02 PM
>Subject: Re: #ifdef debug (or similar)
>
>
> > 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>
> >
> >
> >

-------  -.. .  .-- .- --... ... ... .-   -------------
Niel Skousen: Sr.Eng, SCIENTECH.SPG/CFG, NUSI    WA7SSA
208.525.3742, 524.9229 FAX 529.4721  Idaho Falls ID
[EMAIL PROTECTED]                  DN33wm . . . -z

Reply via email to