Creating Debug version using CodeWarrior

2004-11-10 Thread Peter Easton
Hi, Creating a new CW project creates 2 targets: Debug and Release. How do I add debugging code to the Debug target? Is there a symbol defined (DEBUG?) that I use, or is it a matter of having one file (that defines DEBUG) included in one target and not in the other? What are my options? I

Re: Creating Debug version using CodeWarrior

2004-11-10 Thread Adrien Regimbald
I've set up debug and release macros for my project in CodeWarrior through precompiled headers. You create two precompiled headers, then in the target settings, specify the precompiled header belonging to the target. Within your precompiled headers, you can specify whatever macros you like, and

Re: Creating Debug version using CodeWarrior

2004-11-10 Thread Stefan Stolz
Hi, I use this in one header-File: #if __ide_target(Debug) #define DEBUG #endif Stefan Peter Easton wrote: Hi, Creating a new CW project creates 2 targets: Debug and Release. How do I add debugging code to the Debug target? Is there a symbol defined (DEBUG?) that I use, or is it a

Re: Creating Debug version using CodeWarrior

2004-11-10 Thread Peter Easton
Very, very nice! This is a very elegant solution. Thanks! Peter Stefan Stolz [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I use this in one header-File: #if __ide_target(Debug) #define DEBUG #endif -- For information on using the Palm Developer Forums, or to