• 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
How to setup dependencies on libraries
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to setup dependencies on libraries


  • Subject: How to setup dependencies on libraries
  • From: Eric Gorr <email@hidden>
  • Date: Fri, 10 Oct 2008 17:27:22 -0400

I have three Xcode projects.

ProjectA is the main project with two configurations Dev and Release. It links against LibA and LibB. The way the linking is currently being accomplished is

  LIBRARY_SEARCH_PATHS = ../Lib/$(CONFIGURATION)
  OTHER_LDFLAGS = -lLibA -lLibB

However, this does not, of course, setup a dependency between ProjectA and LibA & LibB.

The way I have been able to setup this dependency is to drag the project file for LibA & LibB into ProjectA. I can then go to the General tab of the target for ProjectA and add a Direct Dependency on the target of LibA & LibB.

My question is, is this the best way or is there something easier?

The reason why I am asking is that I would like to turn on Build independent targets in parallel, but would have to create the dependencies manually for about 50 different projects and libraries. Since many of these projects share the same dependencies, I was hoping there might be a way to use something similar to an xcconfig file so I can define dependencies in bulk across many projects.


_______________________________________________ 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
  • Prev by Date: Re: Xcode hangs with iPhone development
  • Next by Date: iPhone/Xcode Development Mode
  • Previous by thread: Re: Xcode hangs with iPhone development
  • Next by thread: Debugger error still existing
  • Index(es):
    • Date
    • Thread