MCPcopy Create free account
hub / github.com/boostorg/build / construct

Method construct

v2/tools/make.py:22–29  ·  view source on GitHub ↗
(self, name, source_targets, property_set)

Source from the content-addressed store, hash-verified

20class MakeTarget(BasicTarget):
21
22 def construct(self, name, source_targets, property_set):
23
24 action_name = property_set.get("<action>")[0]
25 action = Action(get_manager(), source_targets, action_name[1:], property_set)
26 target = FileTarget(self.name(), type.type(self.name()),
27 self.project(), action, exact=True)
28 return [ b2.build.property_set.empty(),
29 [self.project().manager().virtual_targets().register(target)]]
30
31def make (target_name, sources, generating_rule,
32 requirements=None, usage_requirements=None):

Callers 1

runMethod · 0.45

Calls 5

get_managerFunction · 0.90
getMethod · 0.80
emptyMethod · 0.80
virtual_targetsMethod · 0.80
registerMethod · 0.45

Tested by

no test coverage detected