<s> """<STR_LIT>""" <EOL> import os <EOL> from qisys import ui <EOL> import qibuild . parsers <EOL> def configure_parser ( parser ) : <EOL> """<STR_LIT>""" <EOL> qibuild . parsers . cmake_build_parser ( parser ) <EOL> def do ( args ) : <EOL> """<STR_LIT>""" <EOL> build_worktree = qibuild . parsers . get_build_worktree ( args ) <EOL> sdk_dirs = [ x . sdk_directory for x in build_worktree . build_projects ] <EOL> bin_dirs = [ os . path . join ( x , "<STR_LIT>" ) for x in sdk_dirs ] <EOL> res = list ( ) <EOL> for bin_dir in bin_dirs : <EOL> if os . path . exists ( bin_dir ) : <EOL> binaries = os . listdir ( bin_dir ) <EOL> else : <EOL> binaries = list ( ) <EOL> if os . name == '<STR_LIT>' : <EOL> binaries = [ x for x in binaries if x . endswith ( "<STR_LIT>" ) ] <EOL> binaries = [ x . replace ( "<STR_LIT>" , "<STR_LIT>" ) for x in binaries ] <EOL> binaries = [ x . replace ( "<STR_LIT>" , "<STR_LIT>" ) for x in binaries ] <EOL> res . extend ( binaries ) <EOL> res . sort ( ) <EOL> for binary in res : <EOL> ui . info ( binary ) </s>
