It's a standard C header file (.h).  You should enter the file name in the
Prefix file box on the C/C++ Language Settings panel in your project
settings.

Regards,

Steve

-----Original Message-----
From: Sumit Gupta [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 09, 2000 3:48 PM
To: Palm Developer Forum
Subject: RE: how to pass compiler flags in codewarrior?



Is there any documentation which describes the format
of this "prefix file" and how to load it/pass it to
the compler while building?

thanks
sumit
>
>> From: Sumit Gupta [mailto:[EMAIL PROTECTED]]
>> How do I pass flags to the C/C++ compiler when building a 
>> project under codewarrior? I have #ifdef's in my code that
>> need the defines.
>
>Set up a compiler "prefix file" containing your #define's.  If you need
>multiple configurations of them (like the equivalent of switching "-DDEBUG"
>on and off) then make multiple build targets and use a different prefix
file
>for each.
>
>-slj-
>
>
>-- 
>For information on using the Palm Developer Forums, or to unsubscribe,
please 
see http://www.palm.com/devzone/mailinglists.html
>


-- 
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palm.com/devzone/mailinglists.html

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to