Lines Matching refs:self
26 def __init__(self, line):
27 self.directory = ''
28 self.outputfile = ''
29 self.includeflags = []
30 self.cxxflags = []
31 self.inputfiles = []
32 self.nolink = False
34 self.directory = options.pop(0)
38 self.outputfile = option
43 self.nolink = True
45 self.includeflags.append(CxxFlag(option))
47 self.cxxflags.append(CxxFlag(option))
49 self.inputfiles.append(option)
50 self.cxxflags.sort()
51 self.includeflags.sort()
53 for flag in self.cxxflags:
55 self.cxxflags = cxxflags_tmp.values()
57 for flag in self.includeflags:
59 self.includeflags = includeflags_tmp.values()
60 CxxTargets.by_name[self.getFullOutputname()] = self
61 def __str__(self):
62 return '%s' % (self.getFullOutputname())
63 def getFullOutputname(self):
64 return self.directory + '/' + self.outputfile
65 def __cmp__(self, other):
66 return cmp(self.getFullOutputname(), other.getFullOutputname())
69 def __init__(self, name):
70 self.name = name
71 CxxFlags.by_name[self.name] = self
72 def __str__(self):
73 return 'Flag %s' % (self.name)
74 def __cmp__(self, other):
75 return cmp(self.name, other.name)