| 520 | generators.register (SearchedLibGenerator ()) |
| 521 | |
| 522 | class PrebuiltLibGenerator(generators.Generator): |
| 523 | |
| 524 | def __init__(self, id, composing, source_types, target_types_and_names, requirements): |
| 525 | generators.Generator.__init__ (self, id, composing, source_types, target_types_and_names, requirements) |
| 526 | |
| 527 | def run(self, project, name, properties, sources): |
| 528 | f = properties.get("file") |
| 529 | return f + sources |
| 530 | |
| 531 | generators.register(PrebuiltLibGenerator("builtin.prebuilt", False, [], |
| 532 | ["LIB"], ["<file>"])) |