MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / do_make_project

Method do_make_project

tools/sconsui.py:442–459  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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)

Callers

nothing calls this directly

Calls 5

prepare_buildMethod · 0.95
check_pathMethod · 0.95
ExecCmdFunction · 0.85
get_pathMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected