Re: Header files
Re: Header files
- Subject: Re: Header files
- From: Rick Mann <email@hidden>
- Date: Thu, 09 May 2013 23:11:24 -0700
Yeah, I'm already doing that, although Boost (annoyingly) uses angle brackets internally, so I have to either check "Always Search User Paths" or add the Boost directory to the system header search paths.
What I want to do is NOT add those directories to the search. I want Xcode to build the explicit list of headers in the .hmaps because they're included in the project. That doesn't seem to be working (perhaps because of the angle brackets).
On May 9, 2013, at 23:09 , Mikkel Islay <email@hidden> wrote:
> 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
>
--
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