Any way to "flatten" a resource file target on output?
Any way to "flatten" a resource file target on output?
- Subject: Any way to "flatten" a resource file target on output?
- From: Stephen Kay <email@hidden>
- Date: Sun, 30 Sep 2012 19:16:24 -0400
- Thread-topic: Any way to "flatten" a resource file target on output?
What I'm referring to here, is that back in the CodeWarrior days, there was
an option in the Target Settings to "Output Resources to separate flattened
file", and you specified a location, and it would move the resource fork to
the data fork, such that you could then use this file on a Windows version
of the app (for example).
So I'm hoping to accomplish the same thing with Xcode now (using 2.5 because
I'm working on this ancient CodeWarrior port):
- build a resources target, from a bunch of resource files
- have them merged into one file
- "flatten that file" so that the resources are all moved into the data
fork, and I can then use it in my Windows version ( which can read this kind
of .rsr file).
In Xcode, I've made a Carbon > Resources target, it just has a single build
phase for "Build ResourceManager Resources"; I've dragged a bunch of
resource files in there, and it indeed builds into a single merged .rsrc
product.
But it's not "flat"; all of the resources are in the resource fork (makes
sense).
But is there a Shell Sript command (or some setting) I could use to move the
resource fork to the data fork (or whatever accomplishes that?)
Thanks,
- Stephen
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Stephen Kay
Karma-Lab :: developers of KARMA
http://www.karma-lab.com
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
_______________________________________________
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