Re: Adding a 3rd party C++ library to ObjectiveC project
Re: Adding a 3rd party C++ library to ObjectiveC project
- Subject: Re: Adding a 3rd party C++ library to ObjectiveC project
- From: Koen van der Drift <email@hidden>
- Date: Fri, 07 Jun 2013 23:14:20 -0400
On Jun 7, 2013, at 3:33 PM, Koen van der Drift <email@hidden> wrote:
> It's a static library (.a), and I don't expect any upstream updates soon. Oh, did I mention this is for an iOS project, that might bring some more fun with it ;-)
So this turns out to be some kind of a hassle. Since the Simulator and the iPhone have two different architectures, I need to have two copies of the library available. Can I just create both, and add them to Xcode with a different name for each architecture? Maybe I should create a framework for the library instead, so I don't have to change the whole time?
Other than that, it's really awesome. Once I figured out how to correctly compile the library with cmake, and change the C++ std lib to the GNU version, it was pretty straight forward.
- Koen.
_______________________________________________
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