• 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 link an object from a different project
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to link an object from a different project


  • Subject: how to link an object from a different project
  • From: Shawn Protsman <email@hidden>
  • Date: Tue, 27 Nov 2007 10:39:18 -0800

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


  • Follow-Ups:
    • Re: how to link an object from a different project
      • From: Scott Tooker <email@hidden>
  • Prev by Date: Re: Problem building for 10.2.8 under Leopard
  • Next by Date: Re: Hello, List
  • Previous by thread: Xcode 2.5 and the "fork: Resource temporarily unavailable" error message
  • Next by thread: Re: how to link an object from a different project
  • Index(es):
    • Date
    • Thread