| 535 | |
| 536 | |
| 537 | class 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 | |
| 550 | class CCompilingGenerator (generators.Generator): |
| 551 | """ Declare a special compiler generator. |
nothing calls this directly
no outgoing calls
no test coverage detected