"Labhesh Patel" <[EMAIL PROTECTED]> wrote
>     I wanted conditional compilation of the code based on some
pre-processor
> directives. Where in the project settings in Code Warrior would you need
to
> specify the pre-processor directives?
>
It depends on what you want to do.  A lot of code just defines preprocessor
constants in a header file.  You can then modify these from one compile to
the next to turn different functionality on and off.

If you're looking to produce multiple targets with different settings then
one option is to have an header file for each target that sets the constants
to use.  Scott's answer about prefix files is another option in this case.

Chris Tutty



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

Reply via email to