• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
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


  • Subject: Re: Xcode - linking libraries based on Configuration
  • From: Chris Espinosa <email@hidden>
  • Date: Thu, 26 Jan 2006 22:09:11 -0800

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


  • Follow-Ups:
    • Re: Xcode - linking libraries based on Configuration
      • From: David Cohn <email@hidden>
    • Re: Xcode - linking libraries based on Configuration
      • From: David Cohn <email@hidden>
References: 
 >Xcode - linking libraries based on Configuration (From: David Cohn <email@hidden>)

  • Prev by Date: Re: Aliases or Symbolic Links (Xcode newbie)
  • Next by Date: Re: Flagging errors from inside a Run Script build phase
  • Previous by thread: Xcode - linking libraries based on Configuration
  • Next by thread: Re: Xcode - linking libraries based on Configuration
  • Index(es):
    • Date
    • Thread