4
remove the call to perl for editing the files in "waf --make-waf"
9
- the different levels of coupling
11
task generator -> task generator (--targets)
12
task -> other task (build order)
13
task -> other task (mere existence)
17
# enforce the after= ordering constraints in the javac task generators
18
from TaskGen import after, feature
20
@after('apply_core', 'apply_java', 'apply_subst')
21
def process_after(self):
22
lst = self.to_list(getattr(self, 'after', []))
25
obj = self.bld.name_to_obj(x,self.bld.env)
36
import Node, Environment
40
Environment.Environment.variant = vari
42
def variant(self, env):
44
elif self.id & 3 == Node.FILE: return 0
45
else: return "default"
46
Node.Node.variant = variant
51
def create_task(self, name, src=None, tgt=None):
52
task = Task.TaskBase.classes[name](self.env, generator=self)
58
TaskGen.task_gen.create_task = create_task
60
def hash_constraints(self):
62
sum = hash((str(a('before', '')),
65
str(a('ext_out', '')),
66
self.__class__.maxjobs))
68
Task.TaskBase.hash_constraints = hash_constraints
73
--------------------------------------
74
Last update: 19/03/2010
75
Contact -> http://code.google.com/p/waf