Working with debug and release versions of open source dynamic libraries
Working with debug and release versions of open source dynamic libraries
- Subject: Working with debug and release versions of open source dynamic libraries
- From: email@hidden
- Date: Fri, 6 Mar 2009 18:57:53 -0800 (PST)
Hi,
I am looking for a way to configure my xcode project to properly deal with debug and release versions of third party dynamic libraries.
My project is set up as follows:
I have a C++ dynamic library target which depends on multiple open source C and C++ dynamic libraries. All open source libraries were compiled for both debug and release. When compiling my own C++ library I link against proper open source libraries (debug or release) by using ld compile flags. So far everything works well.
Now, there is another xcode project which has a framework target. This framework depends on my C++ library. When I establish proper xcode dependencies my library gets imported into the framework, however none of the open source dependencies get imported. As a result when framework is used the application fails as it can't find dependencies.
My first attempt was to import the open source libraries into the framework using "Copy files" compile step. This did not work however since copy files can't be told, at least I don't know how, to distinguish between debug and release versions of open source libraries.
The only solution I have found so far is to create xcode projects for open source libraries and then to make the framework target depend on these projects. This is problematic first because I don't want to keep recompiling open source libraries. And also because this is not easily done for all open source libraries which I am using.
Any suggestions on how to deal with this would be great.
Thank you,
Alex
_______________________________________________
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