4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-30 02:40:24 +08:00

Update SConscript

This commit is contained in:
Bernard Xiong 2021-01-05 09:12:04 +08:00 committed by GitHub
parent 7a5edbaabd
commit 821229f896
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,9 +2,9 @@ Import('RTT_ROOT')
Import('rtconfig')
from building import *
cwd = os.path.join(str(Dir('#')), 'applications')
src = Glob('*.c')
CPPPATH = [cwd, str(Dir('#'))]
cwd = GetCurrentDir()
src = Glob('*.c')
CPPPATH = [cwd]
group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH)