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
86
87
88
|
# File 'lib/hmap/xc/workspace/project_helper.rb', line 86
def build_data_dir
Constants::XC_BUILD_DATA
end
|
#build_dir ⇒ Object
63
|
# File 'lib/hmap/xc/workspace/project_helper.rb', line 63
def build_dir() end
|
#build_root ⇒ Object
73
74
75
|
# File 'lib/hmap/xc/workspace/project_helper.rb', line 73
def build_root
workspace.build_root
end
|
#context ⇒ Object
90
91
92
93
94
95
96
|
# File 'lib/hmap/xc/workspace/project_helper.rb', line 90
def context
HMap::Context.new(build_root,
temp_dir,
File.join(hmap_root, build_data_dir),
'',
build_dir)
end
|
#hmap_root ⇒ Object
81
82
83
84
|
# File 'lib/hmap/xc/workspace/project_helper.rb', line 81
def hmap_root
File.join(project_dir, Constants::HMAP_DIR, temp_name)
end
|
#project_dir ⇒ Object
69
70
71
|
# File 'lib/hmap/xc/workspace/project_helper.rb', line 69
def project_dir
project.project_dir
end
|
#project_name ⇒ Object
65
66
67
|
# File 'lib/hmap/xc/workspace/project_helper.rb', line 65
def project_name
project.root_object.name
end
|
#project_references ⇒ Object
52
53
54
55
56
57
|
# File 'lib/hmap/xc/workspace/project_helper.rb', line 52
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
77
78
79
|
# File 'lib/hmap/xc/workspace/project_helper.rb', line 77
def temp_dir
File.join(workspace.obj_root, temp_name)
end
|
#temp_name ⇒ Object
59
60
61
|
# File 'lib/hmap/xc/workspace/project_helper.rb', line 59
def temp_name
"#{project_name}.build"
end
|