mirror of
https://github.com/HEYAHONG/HCppBox.git
synced 2025-05-07 23:52:51 +08:00
完善SConscript(用于RT-Thread)
This commit is contained in:
parent
4fd8be30cd
commit
1923475f1d
12
SConscript
Normal file
12
SConscript
Normal file
@ -0,0 +1,12 @@
|
||||
import os
|
||||
from building import *
|
||||
|
||||
objs = []
|
||||
cwd = GetCurrentDir()
|
||||
list = os.listdir(cwd)
|
||||
|
||||
for item in list:
|
||||
if os.path.isfile(os.path.join(cwd, item, 'SConscript')):
|
||||
objs = objs + SConscript(os.path.join(item, 'SConscript'))
|
||||
|
||||
Return('objs')
|
Loading…
x
Reference in New Issue
Block a user