[cfe-dev] DirectoryLookup.h related question.

steve naroff snaroff at apple.com
Tue Sep 30 07:41:46 PDT 2008


A framework is an Apple-specific packaging mechanism for libraries.
A headermap is an Apple-specific lookup mechanism for finding headers  
within a library.

If you aren't interested in handling Apple-specific mechanisms, you  
shouldn't need to worry about them...

snaroff

On Sep 30, 2008, at 10:26 AM, Paolo Bolzoni wrote:

> Hi everyone,
>
> quoting from:
> include/clang/Lex/DirectoryLookup.h
>
> [...]
> /// DirectoryLookup - This class represents one entry in the search  
> list that
> /// specifies the search order for directories in #include  
> directives.  It
> /// represents either a directory, a framework, or a headermap.
> ///
> class DirectoryLookup {
> public:
>  enum LookupType_t {
>    LT_NormalDir,
>    LT_Framework,
>    LT_HeaderMap
>  };
> private:
> [...]
>
> I know what a directory is...
> I write `#include <fileX>' and the compiler seeks for fileX in its  
> directories
> list (the list is in InitHeaderSearch.cpp), but what a framework or a
> headermap is in this context?
>
> pb
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev




More information about the cfe-dev mailing list