Re: Header files
Re: Header files
- Subject: Re: Header files
- From: Mikkel Islay <email@hidden>
- Date: Fri, 10 May 2013 08:09:09 +0200
Hi Rick,
It is entirely feasible to "header-only" compile with boost in Xcode projects, for the libraries which support it.
Make sure your 'User Header Search Paths' is set to the boost parent-folder (e.g. boost_1_53_0/) with the 'non-recursive' flag set, and that the 'Always Search User Paths' is set.
In general, use the most current release of boost.
Mikkel
On 10 May 2013, at 02:57, Rick Mann wrote:
> How do header file maps (.hmap) work? I'm using Boost, which has many header files. I'm hoping I can speed things up by including only the subset of headers I use in my project, but currently, to get Xcode to see the Boost headers, I have to add the boost parent directory to the header search paths setting (which means it's going to look through all that anyway).
>
> I thought that a header file added to Xcode got included in the generated .hmap files, but it didn't seem to find it. Now, Boost includes with fairly deep paths sometimes (e.g. #include "boost/foo/bar/baz.hpp"), so maybe .hmap only works for filename-only include directives?
>
>
> --
> Rick
>
>
>
>
> _______________________________________________
> 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
_______________________________________________
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