adding a static library in another project relative to my build product
adding a static library in another project relative to my build product
- Subject: adding a static library in another project relative to my build product
- From: Roland King <email@hidden>
- Date: Thu, 1 Oct 2009 22:15:53 +0800
I have a library which is built in \Users\me\Code\MyLib\build\<product
type>\libMyLib.ar
product type is one of the iphone product types, Debug-iPhoneSimulator
etc.
Now I have a project which uses it, \Users\my\Code\MyApp\
and try as I might I can't find a way to include it so that whatever
product type I'm building, I pick up the correct version of the
library for that build product. The 'relative to' bit is always on the
start of the path, I need it in the middle of the path.
I'm sure there's a way to do this but I'm not finding it. I wondered
about either adding the library as a new target, but that means
copying all the build settings, (not the code), and having the rebuilt
as part of my project but I'm neither totally sure how to do that nor
how to reference it once I've done it. I found something about cross-
product dependencies in the documentation but I didn't make headway
there either.
Can you point me to documentation or a 2-paragraph brief of what
structure you'd suggest creating? I can just copy all the source files
from my library project into my application but that seems so wrong,
I'm sure XCode has better support for this that that.
Thanks
_______________________________________________
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