Re: Linked Libraries
Re: Linked Libraries
- Subject: Re: Linked Libraries
- From: Jens Alfke <email@hidden>
- Date: Tue, 22 Jun 2010 10:58:31 -0700
On Jun 22, 2010, at 10:45 AM, David Blanton wrote:
> I have added the projects for these libs to my app project.
> When I change the app target to release these lib projects also change to release and likewise for debug.
> But the libraries in the Link Binary With LIbraries never change ... if I specified the debug version in adding existing frameworks the no matter how the target is changed they stay debug.
Instead of adding the static libraries directly, add the targets that build them as direct dependencies of your current target. Go into the target info’s General tab and click the “+” button below the Direct Dependencies list; then find the static library target in the list and add it. That will add the library to your link line, but Xcode will know to use the correct configuration.
—Jens _______________________________________________
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