forked from keysight-eggplant/libs-xcode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPBXAbstractTarget.m
86 lines (70 loc) · 1.41 KB
/
PBXAbstractTarget.m
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
#import <stdlib.h>
#import "PBXCommon.h"
#import "PBXAbstractTarget.h"
@implementation PBXAbstractTarget
- (void) dealloc
{
[dependencies release];
[buildConfigurationList release];
[productName release];
[buildPhases release];
[name release];
[super dealloc];
}
// Methods....
- (NSMutableArray *) dependencies // getter
{
return dependencies;
}
- (void) setDependencies: (NSMutableArray *)object; // setter
{
ASSIGN(dependencies,object);
}
- (XCConfigurationList *) buildConfigurationList // getter
{
return buildConfigurationList;
}
- (void) setBuildConfigurationList: (XCConfigurationList *)object; // setter
{
ASSIGN(buildConfigurationList,object);
}
- (NSString *) productName // getter
{
return productName;
}
- (void) setProductName: (NSString *)object; // setter
{
ASSIGN(productName,object);
}
- (NSString *) name // getter
{
return name;
}
- (void) setName: (NSString *)object; // setter
{
ASSIGN(name,object);
}
- (NSMutableArray *) buildPhases // getter
{
return buildPhases;
}
- (void) setBuildPhases: (NSMutableArray *)object; // setter
{
ASSIGN(buildPhases,object);
}
- (BOOL) build
{
puts([[NSString stringWithFormat: @"Building %@",self] cString]);
return YES;
}
- (BOOL) clean
{
puts([[NSString stringWithFormat: @"Cleaning %@",self] cString]);
return YES;
}
- (BOOL) install
{
puts([[NSString stringWithFormat: @"Installing %@",self] cString]);
return YES;
}
@end