How to setup dependencies on libraries
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