Class: HMap::MapFileWriter

Inherits:
Object
  • Object
show all
Defined in:
lib/hmap/hmap_writer.rb

Overview

Helper module which returns handle method from MapFileWriter.

Instance Method Summary collapse

Constructor Details

#initialize(save_origin_build_setting, clean_hmap, allow_targets, use_build_in_headermap: true) ⇒ MapFileWriter

Returns a new instance of MapFileWriter.

Parameters:

  • save_origin_header_search_paths

    save_origin_header_search_paths

  • clean_hmap

    clean up all hmap setup

  • allow_targets

    this targets will save origin build setting

  • use_build_in_headermap (defaults to: true)

    option use Xcode header map



12
13
14
15
16
17
18
# File 'lib/hmap/hmap_writer.rb', line 12

def initialize(save_origin_build_setting, clean_hmap, allow_targets, use_build_in_headermap: true)
  @allow_targets = allow_targets
  puts "hmap allow targets: #{allow_targets}" unless allow_targets.empty?
  @save_origin_build_setting = save_origin_build_setting
  @use_build_in_headermap = use_build_in_headermap
  create_mapfile(clean_hmap)
end