In article ,
Corvus13 wrote:
> I wonder if someone might shed some light on the way dependencies work
> in XCode 3.
It's very simple.
If you add project A to project B then targets in B can depend on targets in A.
If you make target A1 a dependency of target B1 (which you can do in target
inspector for B1), then building B1 will also build A1.
If you want B1 to link against the product of A1, then you need to add the
product of A1 to B1, just like you would with any other library you want B1 to
link against. You can do this simply by dragging the product of A1 to the Link
Frameworks and Libraries phase of B1. You can find the product of A1 listed
under A's entry in the project tree.
In short, dependencies are orthogonal to linking, and if you want both, you need
to specify both.
Ben
--
If this message helped you, consider buying an item
from my wish list: <http://artins.org/ben/wishlist>
I changed my name: <http://periodic-kingdom.org/People/NameChange.php>