• 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
Re: Framework Headers Subdirectories
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Framework Headers Subdirectories


  • Subject: Re: Framework Headers Subdirectories
  • From: Chris Espinosa <email@hidden>
  • Date: Fri, 25 Mar 2005 22:12:07 -0800

On Mar 24, 2005, at 7:15 AM, David Giovannini wrote:

All their includes have the form #include "libraryname/header.h".

Well, close.  That could be either a framework header include or a header-path-subdirectory include.  That is, if you had #include "foo/bar.h", and the following search paths:

FRAMEWORK_SEARCH_PATHS:  $(HOME)/Library/
HEADER SEARCH PATH: $(SRCROOT)

then gcc will look (in addition to its standard places) for

$(HOME)/Library/foo.framework/Headers/bar.h              // in case it's a framework-style include
$SRCROOT)/foo/bar.h                                                         // in case it's a path-style include

Which is great because the framework paths work that way. Some of the headers are accessed by #include "libraryname/subcategory/header.h".

foo/subcategory/bar.h will be looked for in:

$(HOME)/Library/foo.framework/Headers/subcategory/bar.h              // in case it's a framework-style include
$(SRCROOT)/foo/subcategory/bar.h                                                         // in case it's a path-style include


Where is the best place to store the subcategory header's in the framework structure and how do I get XCode to do it?

http://developer.apple.com/documentation/DeveloperTools/gcc-3.3/gcc/Directory-Options.html
 _______________________________________________
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

References: 
 >Framework Headers Subdirectories (From: David Giovannini <email@hidden>)

  • Prev by Date: Re: Xcode 2.0 Questions and Wishlist
  • Next by Date: Re: Xcode 2.0 Questions and Wishlist
  • Previous by thread: Framework Headers Subdirectories
  • Next by thread: How do I copy my bundle into iPhoto?
  • Index(es):
    • Date
    • Thread