How are .hmap files built?

  • How does Xcode build the .hmap files for a build? I'm trying to deal with some third-party libraries with lots of header files I don't need; I'd like to avoid putting in a search path for them, and just include the headers I actually need in my Xcode project.

    But with boost, which does a lot of including with a mix of quotes and angle brackets and paths (i.e. "boost/type_traits/detail/bool_trait_def.hpp"), it wasn't working without an overall search path.

    --
    Rick
  • Hi Rick,

    Not knowing exactly what it is that you're struggling with here I'll just mention that [a] there are build settings that allow you to control the behavior of header maps:

    <http://developer.apple.com/library/mac/documentation/DeveloperTools/Referen
    ce/XcodeBuildSettingRef/1-Build_Setting_Reference/build_setting_ref.html#//
    apple_ref/doc/uid/TP40003931-CH3-SW158
    >

    and also [b] that if they're simply not working out for you at all, I believe that you can turn them off using USE_HEADERMAP=NO.

    Joar

    On 21 maj 2013, at 20:12, Rick Mann <rmann...> wrote:

    > How does Xcode build the .hmap files for a build? I'm trying to deal with some third-party libraries with lots of header files I don't need; I'd like to avoid putting in a search path for them, and just include the headers I actually need in my Xcode project.
    >
    > But with boost, which does a lot of including with a mix of quotes and angle brackets and paths (i.e. "boost/type_traits/detail/bool_trait_def.hpp"), it wasn't working without an overall search path.
    >
    >
    > --
    > Rick
    >
    >
    >
    >
    > _______________________________________________
    > Do not post admin requests to the list. They will be ignored.
    > Xcode-users mailing list      (<Xcode-users...>)
    > Help/Unsubscribe/Update your Subscription:
    > https://lists.apple.com/mailman/options/xcode-users/<joar...>
    >
    > This email sent to <joar...>
  • Oh, thank you! That's a lot more information than I've been able to find. I'll experiment with things and see if I can make a small test case demonstrating the behavior I'm seeing.

    --
    Rick

    On May 22, 2013, at 21:14 , Joar Wingfors <joar...> wrote:

    > Hi Rick,
    >
    > Not knowing exactly what it is that you're struggling with here I'll just mention that [a] there are build settings that allow you to control the behavior of header maps:
    >
    > <http://developer.apple.com/library/mac/documentation/DeveloperTools/Referen
    ce/XcodeBuildSettingRef/1-Build_Setting_Reference/build_setting_ref.html#//
    apple_ref/doc/uid/TP40003931-CH3-SW158
    >
    >
    > and also [b] that if they're simply not working out for you at all, I believe that you can turn them off using USE_HEADERMAP=NO.
    >
    > Joar
    >
    >
    > On 21 maj 2013, at 20:12, Rick Mann <rmann...> wrote:
    >
    >> How does Xcode build the .hmap files for a build? I'm trying to deal with some third-party libraries with lots of header files I don't need; I'd like to avoid putting in a search path for them, and just include the headers I actually need in my Xcode project.
    >>
    >> But with boost, which does a lot of including with a mix of quotes and angle brackets and paths (i.e. "boost/type_traits/detail/bool_trait_def.hpp"), it wasn't working without an overall search path.
    >>
    >>
    >> --
    >> Rick
    >>
    >>
    >>
    >>
    >> _______________________________________________
    >> Do not post admin requests to the list. They will be ignored.
    >> Xcode-users mailing list      (<Xcode-users...>)
    >> Help/Unsubscribe/Update your Subscription:
    >> https://lists.apple.com/mailman/options/xcode-users/<joar...>
    >>
    >> This email sent to <joar...>
    >
    >
    > _______________________________________________
    > Do not post admin requests to the list. They will be ignored.
    > Xcode-users mailing list      (<Xcode-users...>)
    > Help/Unsubscribe/Update your Subscription:
    > https://lists.apple.com/mailman/options/xcode-users/<rmann...>
    >
    > This email sent to <rmann...>

    --
    Rick
previous month may 2013 next month
MTWTFSS
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    
Go to today