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

Class CompileAction

v2/tools/builtin.py:537–548  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

535
536
537class CompileAction (virtual_target.Action):
538 def __init__ (self, manager, sources, action_name, prop_set):
539 virtual_target.Action.__init__ (self, manager, sources, action_name, prop_set)
540
541 def adjust_properties (self, prop_set):
542 """ For all virtual targets for the same dependency graph as self,
543 i.e. which belong to the same main target, add their directories
544 to include path.
545 """
546 s = self.targets () [0].creating_subvariant ()
547
548 return prop_set.add_raw (s.implicit_includes ('include', 'H'))
549
550class CCompilingGenerator (generators.Generator):
551 """ Declare a special compiler generator.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected