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: Shawn Protsman <email@hidden>
- Date: Tue, 27 Nov 2007 23:01:59 -0800
Hi Scott,
I guess I did what you suggested. I right clicked on the library
target (under Targets) and added the location of the other object. I
verified that this file ...
/Users/sprotsman/workspace/xcode/aest/build/aest.build/Debug/
aest.build/Objects-normal/i386/aest.LinkFileList
... had the external object listed, and it did!
All seems well. Thanks.
--Shawn
On Nov 27, 2007, at 2:32 PM, Scott Tooker wrote:
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
_______________________________________________
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