At 05:31 PM 8/30/2000, Brad Myers wrote:
>I have two codewarrior projects (two .mcp files) that use the same
>source files, and I want to define a different set of symbols for
>conditional compilation in the source. I.e., I have #ifdef xxxx in the
>source. Can I define xxxx in the settings for one of the projects
>somehow and leave it out of the other one? It is easy to add extra
>switches (like -Dxxxx) in Visual C++ (in the "Project Options" line of
>the C/C++ tab), but I couldn't find an equivalent place to add them in
>the CodeWarrior settings.
You might find using two targets within the same project more appropriate if they use
the same sources. Regardless, in order to get what you want, you should specify a
different prefix file in the target settings for each of your projects/targets, and in
these prefix files, you can define your symbols differently.
--
Peter Epstein
Palm Inc. Developer
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/