Update SConscript

This commit is contained in:
Bernard Xiong
2019-06-06 07:43:17 +08:00
committed by GitHub
parent 4bf3a83f47
commit 7cbdf9e4a9

View File

@@ -1,10 +1,8 @@
Import('RTT_ROOT')
Import('rtconfig')
from building import *
cwd = GetCurrentDir()
src = Glob('*.c')
CPPPATH = [cwd, str(Dir('#'))]
src = Glob('*.c') + Glob('*.cpp')
CPPPATH = [cwd]
group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH)