def get_bin(self, arch='<STR_LIT>'):
bin_dir = os.path.join(self.vc_dir, '<STR_LIT>')<EOL>if arch == '<STR_LIT>':<EOL><INDENT>arch = '<STR_LIT>'<EOL><DEDENT>cl_path = os.path.join(bin_dir, arch, '<STR_LIT>')<EOL>link_path = os.path.join(bin_dir, arch, '<STR_LIT>')<EOL>ml_name = '<STR_LIT>'<EOL>if arch in ['<STR_LIT>', '<STR_LIT>']:<EOL><INDENT>ml_name = '<STR_LIT>'<EOL><DEDENT>ml_path = os.path.join(bin_dir, arch, ml_name)<EOL>if os.path.isfile(cl_path)and os.path.isfile(link_path)and os.path.isfile(ml_path):<EOL><INDENT>logging.info(_('<STR_LIT>'), cl_path)<EOL>logging.info(_('<STR_LIT>'), link_path)<EOL>logging.info(_('<STR_LIT>'), ml_name, ml_path)<EOL>run_cl = partial(run_program, cl_path)<EOL>run_link = partial(run_program, link_path)<EOL>run_ml = partial(run_program, ml_path)<EOL>return self.Bin(run_cl, run_link, run_ml)<EOL><DEDENT>logging.debug(_('<STR_LIT>'), cl_path)<EOL>logging.debug(_('<STR_LIT>'), link_path)<EOL>logging.debug(_('<STR_LIT>'), ml_name, ml_path)<EOL>return self.Bin(None, None, None)<EOL>
Get binaries of Visual C++.