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

Function BuildLibInstallAction

tools/building.py:714–722  ·  view source on GitHub ↗
(target, source, env)

Source from the content-addressed store, hash-verified

712 return env['LIBPREFIX'] + GroupLibName(name, env) + env['LIBSUFFIX']
713
714def BuildLibInstallAction(target, source, env):
715 lib_name = GetOption('buildlib')
716 for Group in Projects:
717 if Group['name'] == lib_name:
718 lib_name = GroupLibFullName(Group['name'], env)
719 dst_name = os.path.join(Group['path'], lib_name)
720 print('Copy '+lib_name+' => ' + dst_name)
721 do_copy_file(lib_name, dst_name)
722 break
723
724def DoBuilding(target, objects):
725

Callers

nothing calls this directly

Calls 3

do_copy_fileFunction · 0.90
GroupLibFullNameFunction · 0.85
joinMethod · 0.45

Tested by

no test coverage detected