Generator that accepts everything and produces nothing. Useful as a general fallback for toolset-specific actions like PCH generation.
| 712 | generators.register(g) |
| 713 | |
| 714 | class DummyGenerator(generators.Generator): |
| 715 | """Generator that accepts everything and produces nothing. Useful as a general |
| 716 | fallback for toolset-specific actions like PCH generation. |
| 717 | """ |
| 718 | def run (self, project, name, prop_set, sources): |
| 719 | return (property_set.empty(), []) |
| 720 | |
| 721 | |
| 722 | get_manager().projects().add_rule("variant", variant) |
nothing calls this directly
no outgoing calls
no test coverage detected