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
95
96
97
|
# File 'lib/hmap/xc/workspace/project_helper.rb', line 95
def build_data_dir
Constants::XC_BUILD_DATA
end
|
#build_dir ⇒ Object
72
|
# File 'lib/hmap/xc/workspace/project_helper.rb', line 72
def build_dir() end
|
#build_root ⇒ Object
82
83
84
|
# File 'lib/hmap/xc/workspace/project_helper.rb', line 82
def build_root
workspace.build_root
end
|
#context ⇒ Object
99
100
101
102
103
104
105
|
# File 'lib/hmap/xc/workspace/project_helper.rb', line 99
def context
HMap::Context.new(build_root,
temp_dir,
File.join(hmap_root, build_data_dir),
'',
build_dir)
end
|
#hmap_root ⇒ Object
90
91
92
93
|
# File 'lib/hmap/xc/workspace/project_helper.rb', line 90
def hmap_root
File.join(project_dir, Constants::HMAP_DIR, temp_name)
end
|
#project_dir ⇒ Object
78
79
80
|
# File 'lib/hmap/xc/workspace/project_helper.rb', line 78
def project_dir
project.project_dir
end
|
#project_name ⇒ Object
74
75
76
|
# File 'lib/hmap/xc/workspace/project_helper.rb', line 74
def project_name
project.root_object.name
end
|
#project_references ⇒ Object
61
62
63
64
65
66
|
# File 'lib/hmap/xc/workspace/project_helper.rb', line 61
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
86
87
88
|
# File 'lib/hmap/xc/workspace/project_helper.rb', line 86
def temp_dir
File.join(workspace.obj_root, temp_name)
end
|
#temp_name ⇒ Object
68
69
70
|
# File 'lib/hmap/xc/workspace/project_helper.rb', line 68
def temp_name
"#{project_name}.build"
end
|