(self)
| 440 | ExecCmd(command) |
| 441 | |
| 442 | def do_make_project(self): |
| 443 | ide = self.ide.get() |
| 444 | self.prepare_build() |
| 445 | command = 'scons --target=%s -s' % ide |
| 446 | |
| 447 | if not self.check_path(): |
| 448 | return |
| 449 | |
| 450 | # select build page |
| 451 | self.notebook.select(self.building_page) |
| 452 | |
| 453 | bsp = self.BSPRoot.get_path() |
| 454 | os.chdir(bsp) |
| 455 | |
| 456 | self.output.delete(1.0, END) |
| 457 | self.output.insert(END, 'Generate project ...\n') |
| 458 | self.is_makeing_project = True |
| 459 | ExecCmd(command) |
| 460 | |
| 461 | def quit(self): |
| 462 | exit(0) |
nothing calls this directly
no test coverage detected