(self, module_dirs, module_build_dir)
| 625 | raise CompileError(msg) from None |
| 626 | |
| 627 | def module_options(self, module_dirs, module_build_dir): |
| 628 | options = [] |
| 629 | if self.module_dir_switch is not None: |
| 630 | if self.module_dir_switch[-1]==' ': |
| 631 | options.extend([self.module_dir_switch.strip(), module_build_dir]) |
| 632 | else: |
| 633 | options.append(self.module_dir_switch.strip()+module_build_dir) |
| 634 | else: |
| 635 | print('XXX: module_build_dir=%r option ignored' % (module_build_dir)) |
| 636 | print('XXX: Fix module_dir_switch for ', self.__class__.__name__) |
| 637 | if self.module_include_switch is not None: |
| 638 | for d in [module_build_dir]+module_dirs: |
| 639 | options.append('%s%s' % (self.module_include_switch, d)) |
| 640 | else: |
| 641 | print('XXX: module_dirs=%r option ignored' % (module_dirs)) |
| 642 | print('XXX: Fix module_include_switch for ', self.__class__.__name__) |
| 643 | return options |
| 644 | |
| 645 | def library_option(self, lib): |
| 646 | return "-l" + lib |
no test coverage detected