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

Function get_command_string

tools/compile_commands.py:35–39  ·  view source on GitHub ↗

从SCons获取实际的编译命令

(source, target, env, for_signature)

Source from the content-addressed store, hash-verified

33 collected_files = set()
34
35 def get_command_string(source, target, env, for_signature):
36 """从SCons获取实际的编译命令"""
37 if env.get('CCCOMSTR'):
38 return env.get('CCCOM')
39 return '${CCCOM}'
40
41 def on_compile(target, source, env):
42 """编译动作的回调函数"""

Callers 1

on_compileFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected