Skip to content

Commit 4064a4c

Browse files
authored
Update SConscript
1 parent 383509e commit 4064a4c

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed
Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
Import('RTT_ROOT')
2-
Import('rtconfig')
31
from building import *
42

5-
cwd = os.path.join(str(Dir('#')), 'applications')
6-
src = Glob('*.c')
3+
cwd = GetCurrentDir()
4+
src = Glob('*.c')
75

8-
CPPPATH = [cwd, str(Dir('#'))]
6+
CPPPATH = [cwd]
97
group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH)
108

119
Return('group')

0 commit comments

Comments
 (0)