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

Function AddDepend

tools/building.py:442–452  ·  view source on GitHub ↗
(option)

Source from the content-addressed store, hash-verified

440 return building
441
442def AddDepend(option):
443 if isinstance(option, str):
444 BuildOptions[option] = 1
445 elif isinstance(option, list):
446 for obj in option:
447 if isinstance(obj, str):
448 BuildOptions[obj] = 1
449 else:
450 print('AddDepend arguements are illegal!')
451 else:
452 print('AddDepend arguements are illegal!')
453
454def Preprocessing(input, suffix, output = None, CPPPATH = None):
455 if hasattr(rtconfig, "CPP") and hasattr(rtconfig, "CPPFLAGS"):

Callers 1

PrepareBuildingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected