Module: HMap::Project::Helper
Instance Method Summary
collapse
Methods included from HeaderType
#headers_hash, #private_entrys, #project_entrys, #public_entrys, #use_vfs?
Instance Method Details
#build_data_dir ⇒ Object
79
80
81
|
# File 'lib/hmap/xc/workspace/project_helper.rb', line 79
def build_data_dir
Constants::XC_BUILD_DATA
end
|
#build_dir ⇒ Object
56
|
# File 'lib/hmap/xc/workspace/project_helper.rb', line 56
def build_dir() end
|
#build_root ⇒ Object
66
67
68
|
# File 'lib/hmap/xc/workspace/project_helper.rb', line 66
def build_root
workspace.build_root
end
|
#context ⇒ Object
83
84
85
86
87
88
89
|
# File 'lib/hmap/xc/workspace/project_helper.rb', line 83
def context
HMap::Context.new(build_root,
temp_dir,
File.join(hmap_root, build_data_dir),
'',
build_dir)
end
|
#hmap_root ⇒ Object
74
75
76
77
|
# File 'lib/hmap/xc/workspace/project_helper.rb', line 74
def hmap_root
File.join(project_dir, Constants::HMAP_DIR, temp_name)
end
|
#project_dir ⇒ Object
62
63
64
|
# File 'lib/hmap/xc/workspace/project_helper.rb', line 62
def project_dir
project.project_dir
end
|
#project_name ⇒ Object
58
59
60
|
# File 'lib/hmap/xc/workspace/project_helper.rb', line 58
def project_name
project.root_object.name
end
|
#project_references ⇒ Object
45
46
47
48
49
50
|
# File 'lib/hmap/xc/workspace/project_helper.rb', line 45
def project_references
return @project_references if defined? @project_references
project_references = PBXHelper.project_references(project)
@project_references = project_references.map { |pr| Project.new(pr, workspace) }
end
|
#temp_dir ⇒ Object
70
71
72
|
# File 'lib/hmap/xc/workspace/project_helper.rb', line 70
def temp_dir
File.join(workspace.obj_root, temp_name)
end
|
#temp_name ⇒ Object
52
53
54
|
# File 'lib/hmap/xc/workspace/project_helper.rb', line 52
def temp_name
"#{project_name}.build"
end
|