• 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
Include external dependency headers via sub-project?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Include external dependency headers via sub-project?


  • Subject: Include external dependency headers via sub-project?
  • From: Nathan Vander Wilt <email@hidden>
  • Date: Fri, 1 Feb 2008 19:10:11 -0600 (CST)

My project depends on some external libraries, and I
would like to arrange things so that dependencies are
manageable when checking the main project out to
different machines/users.

To that end, I put the library sources in an on-disk
subfolder of my product, and made an Xcode project for
each to build the libraries. (This had the added
advantage of working around iffy makefiles, and puts
Universal binaries back into "check the box"
territory.) I then added these projects to my main
project.

Now I can acess the libfoo.a product via the
referenced sub-project, but the foo.h header does not
show up.

Is this the best method for arranging the project so
it can build itself from a fresh repository clone? If
so, how can I get access to a header through its
subproject? (I already tried making the file "public"
in the Copy Headers stage, but that entire stage seems
to only be for frameworks. I would prefer to static
link, so I don't think I want to make a framework.)

thanks,
-natevw


      ____________________________________________________________________________________
¡Capacidad ilimitada de almacenamiento en tu correo!
No te preocupes más por el espacio de tu cuenta con Correo Yahoo!:
http://correo.espanol.yahoo.com/
 _______________________________________________
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

  • Prev by Date: Re: [ADMIN] Monthly Reminder: How to Ask for Help on Xcode-users
  • Next by Date: Re: NSViewController and IB -- what am I missing?
  • Previous by thread: XCode and application crashes
  • Next by thread: gdb can't resolve breakpoints
  • Index(es):
    • Date
    • Thread