Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Xcode - linking libraries based on Configuration
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode - linking libraries based on Configuration



Chris,

Thanks... I'll give that a go!

--Dave


On Jan 26, 2006, at 10:09 PM, Chris Espinosa wrote:

On Jan 26, 2006, at 5:59 PM, David Cohn wrote:

I've got a project with two Build Configurations-- Debug and Release.
"Library Search Paths" includes a "Debug" directory for one Configuration, and a "Release" directory for the other. (Both directories contain a "linkedlib.a")

Don't do this.

But, I can't seem to specify linking to the actual library ("linkedlib.a") such that one Configuration finds the Debug version, and the other finds the Release one...

What am I missing?
(This is still in Xcode 2.1...)

The best thing to do is if linkedlib.a is created by another Xcode project, to a) add that subproject to your project, then b) select linkedlib.a and in its inspector's Targets pane, check which targets need to link to it. The configurations will be wired up automatically.


Chris



_______________________________________________ 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
References: 
 >Xcode - linking libraries based on Configuration (From: David Cohn <email@hidden>)
 >Re: Xcode - linking libraries based on Configuration (From: Chris Espinosa <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.