[tools] 增加scons --exec-path=xxx命令 用于动态设置编译链路径

scons --target=iar --exec-path=xxxx
scons --exec-path=xxxx
This commit is contained in:
Meco Man
2022-09-22 22:57:09 -04:00
committed by Man, Jianting (Meco)
parent 61e1e31ca9
commit c38259d336
2 changed files with 9 additions and 0 deletions
+4
View File
@@ -85,6 +85,10 @@ def AddOptions():
dest = 'target',
type = 'string',
help = 'set target project: mdk/mdk4/mdk5/iar/vs/vsc/ua/cdk/ses/makefile/eclipse/codelite/cmake')
AddOption('--exec-path',
dest = 'exec-path',
type = 'string',
help = 'set RTT_EXEC_PATH temperately')
AddOption('--stackanalysis',
dest = 'stackanalysis',
action = 'store_true',