How to build nested frameworks
How to build nested frameworks
- Subject: How to build nested frameworks
- From: Shamyl Zakariya <email@hidden>
- Date: Mon, 21 Aug 2006 15:12:28 -0400
I'm refactoring a bunch of base-code which I use -- all the time in a
fair number of minor and major projects -- into a single framework.
This is simple enough, I'll just make a framework and set the
"Installation Directory" to @executable_path/../Frameworks. I've done
this plenty of times.
However, in this case, the framework I want to build references a few
separate frameworks, which are not mine ( open source stuff, GLEW
( glew.sf.net ), SlotSig ( slotsig.sf.net ) and ODE( ode.org ) ).
I've already built each of these as an embeddable framework ( with
the executable path set as I mentioned above ). My basecode links
against these frameworks, and the apps which will use the base code
will use and link against these frameworks as well.
So what I want is the target framework, "SimpleGameFramework" to
include these in a Frameworks subfolder, the way /System/Library/
Frameworks/ApplicationServices.framework does.
My questions are:
1) Can I just add a copy files build phase to put those frameworks
in, the way I would for an app?
2) When those frameworks are in place, can my app code #include <ode/
ode.h> the way it could if the framework *weren't* embedded in
SimpleGameFramework?
3) Will it link? E.g., can nested frameworks be embedded in a .app
bundle application?
Basically, I want this as simple as possible for me, since I write a
lot of one-off simple apps to test functionality, and it'd be ideal
if I could just make a cocoa project, drop in
SimpleGameFramework.framework and be ready to code.
Thanks,
email@hidden
"negative, i am a meat popsicle."
-- Major Korben Dallas
_______________________________________________
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