Re: Development and Deployment linking to libraries
Re: Development and Deployment linking to libraries
- Subject: Re: Development and Deployment linking to libraries
- From: Nick Zitzmann <email@hidden>
- Date: Wed, 3 Sep 2008 09:15:24 -0600
On Sep 3, 2008, at 9:05 AM, <email@hidden> <email@hidden
> wrote:
Of course, but what if your library is already built in Debug/
Release flavors, and you don't have the source code (for example, a
third-party library)?
That's a good question. I think the standard way of doing this is to
rename the Debug library so that its name before the extension (if
any) ends in "_debug", and then change the executable settings in the
application to use a "debug" suffix as necessary. That way the
"release" library will be used by default, but you can load the debug
framework as needed. And if you're using a framework, then you'd have
to copy over the debug framework code into the release framework.
There are other ways of doing this, e.g. setting the linker flags
differently in each configuration.
Nick Zitzmann
<http://seiryu.home.comcast.net/>
S/MIME signature available upon request
_______________________________________________
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