lst = self.to_list(self.depends_on)
for x in lst:
y = self.bld.name_to_obj(x, self.env)
+ self.bld.ASSERT(y is not None, "Failed to find dependency %s of %s" % (x, self.name))
y.post()
-
if getattr(y, 'more_includes', None):
self.includes += " " + y.more_includes
t.post()
Build.BuildContext.ENFORCE_GROUP_ORDERING = ENFORCE_GROUP_ORDERING
+# @feature('cc')
+# @before('apply_lib_vars')
+# def process_objects(self):
+# if getattr(self, 'add_objects', None):
+# lst = self.to_list(self.add_objects)
+# for x in lst:
+# y = self.name_to_obj(x)
+# if not y:
+# raise Utils.WafError('object %r was not found in uselib_local (required by add_objects %r)' % (x, self.name))
+# y.post()
+# self.env.append_unique('INC_PATHS', y.env.INC_PATHS)
+