Re: Best Practice or The Way
Re: Best Practice or The Way
- Subject: Re: Best Practice or The Way
- From: Seth Willits <email@hidden>
- Date: Mon, 11 Jan 2010 17:20:00 -0800
On Jan 11, 2010, at 5:04 PM, David Blanton wrote:
> note my release versions of libs must be stripped and this caused problems whne they were all in a project with dependencies
I don't follow. How was this a problem?
If you have Xcode projects for the static libraries, I would use them with direct dependencies. Xcode automatically takes the Debug versions of the libraries and uses them in the Debug version of your app.
However, even without Xcode's dependencies, you don't need separate targets, just use a different library search path for the Debug and Release configurations. I haven't done it, but I'm pretty sure the compiler is still given a library name and a search path when building (even if you drag in a specific library file) so by using a different search path for each configuration it should pickup the right library.
Hopefully that helps. Someone else might have more practical experience with this case.
--
Seth Willits
_______________________________________________
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