Re: how to link an object from a different project
Re: how to link an object from a different project
- Subject: Re: how to link an object from a different project
- From: Scott Tooker <email@hidden>
- Date: Tue, 27 Nov 2007 14:32:43 -0800
Have you tried just adding the .o file to the link build phase of the
target that needs it?
Scott
On Nov 27, 2007, at 10:39 AM, Shawn Protsman wrote:
We are in the process of porting a few of our *nix app/libraries to
OS X. With that, I'm new to XCode. Currently using 2.4.1 (OS 10.4.11).
I have a non-XCode project that builds an object (foo.o) using a
Makefile. On our other platforms I simply have a line similar to
this in my Makefile that gets linked into the library I'm building
(where foo.o is in a different directory and not built using XCode):
PROJOBJS = $(TARGETDIR)/someobject.o \
$(TARGETDIR)/someobject2.o \
$(DEVDIR)/otherproject/foo.o
Now from within my XCode project I would like to do the same thing.
I want to link foo.o into the build of my library (dylib). Is there
a configuration option in XCode to link objects that are built and
contained in other directories on my system?
Thanks,
--Shawn
_______________________________________________
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
_______________________________________________
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