Re: Framework Headers Subdirectories
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