Re: Creationg a stand-alone resource file
Re: Creationg a stand-alone resource file
- Subject: Re: Creationg a stand-alone resource file
- From: "Philippe Casgrain" <email@hidden>
- Date: Tue, 18 Oct 2005 14:51:26 -0400
- Thread-topic: Creationg a stand-alone resource file
Thank you. By using the "Legacy->Tool" target, I was able to create a
target which did not have an executable, but could have a
ResourceManager Resources build phase.
I was able to set #include paths in the GUI. Good!
By setting the Linker setting "Put MacoOS resources in... Data fork of
separate .rsrc file", I was able to create a separate "My Dialogs.rsrc"
file, which is a data-fork resource file.
My only problem is that the resource file name is always
"<filename>.rsrc" instead of simply "<filename>", but since I added a
Shell Script to copy the resource file to my app's bundle, I have added
the renaming logic in the script.
I realize I could have done all of this with a shell script, but I
wanted to see if it was possible in Xcode.
Thanks,
Philippe
-----Original Message-----
From: xcode-users-bounces+philippe.casgrain=email@hidden
[mailto:xcode-users-bounces+philippe.casgrain=email@hidden]
On Behalf Of Scott Tooker
Sent: October 17, 2005 18:21
To: XCode Users
Subject: Re: Creationg a stand-alone resource file
In the current Xcode you'll need to take a tool target, add a
ResourceManager Resources build phase, remove all the other build
phases, and then add your .r file to that target.
In the next version of Xcode we provide a target template for building a
resource file.
Scott
On Oct 17, 2005, at 12:00 PM, Philippe Casgrain wrote:
> My app needs a stand-alone resource file (it contains all of its
> dialogs). In CW, I had a target that only did a "Merge" and Rez-ed my
> .r files, allowing me to set filetype, creator and location.
>
> In Xcode, the only way I have found to do that is to have a Script
> Build Phase, which calls /Developer/Tools/Rez on my .r files. It
> works, but I feel it could be better: I would like a GUI to set my
> #include paths, for instance. Or the filetype/creator.
>
> Can I create a project (.xcodeproj) or use a Makefile to build my
> resource file? I could not find anything that would have, as its
> output, a resource file. Shell tools, applications, OK but no
> stand-alone resource file...
>
> Thanks,
> Philippe
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
orel.com
This email sent to email@hidden
--
This message has been scanned for viruses and dangerous content, and is
believed to be clean.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden