Re: Are xcode Rez Preprocessor defines broken?
Re: Are xcode Rez Preprocessor defines broken?
- Subject: Re: Are xcode Rez Preprocessor defines broken?
- From: Chris Espinosa <email@hidden>
- Date: Thu, 11 Mar 2004 16:57:12 -0800
On Mar 11, 2004, at 3:16 PM, jason rusoff wrote:
I am either not understanding xcode, or it is broken. I am trying to
#define a symbol ( __UNIX__) for my .r files. In xcode I enter various
strings in the Preprocessor Defines field of the Build/Rez tab, but I
never see them passed to Rez
__UNIX__=1 // value I enter in preprocessor defines
Here is what I see in the build transcript:
Rez
/Users/jasonrus/Desktop/wxMac-2.5.1/src/build/wxWindows.build/
Calendar.build/ResourceManagerResources/Objects/corersrc.rsrc
mac/corersrc.r
cd /Users/jasonrus/Desktop/wxMac-2.5.1/src
/Developer/Tools/Rez -o
/Users/jasonrus/Desktop/wxMac-2.5.1/src/build/wxWindows.build/
Calendar.build/ResourceManagerResources/Objects/corersrc.rsrc -d
SystemSevenOrLater=1 -useDF -i
/Users/jasonrus/Desktop/wxMac-2.5.1/src/build
/Users/jasonrus/Desktop/wxMac-2.5.1/src/mac/corersrc.r
Has anyone seen this before, or gotten rez defines to work correctly? I
tried -d __UNIX__ as well, but it also didn't show up.
Try adding -d __UNIX__ to the OTHER_REZFLAGS build setting. If you
don't have one, click the + sign in the target build settings and add
it. Be sure to spell it exactly like that: OTHER_REZFLAGS in the
left-hand column, and -d <space> __UNIX__ in the right. =1 is optional
because you're using #ifdefs.
Chris
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.