Skip to content

Commit

Permalink
add: scons for rtt
Browse files Browse the repository at this point in the history
  • Loading branch information
haodongnj committed Sep 9, 2021
1 parent 1ecc60b commit c2490ed
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions SConscript
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
from building import *

cwd = GetCurrentDir()
src = Glob('*.c')
path = [cwd + '/include']

if GetDepend('PKG_USING_CONTROLLER'):
src += Glob('src/*.c')

group = DefineGroup('Controller', src, depend = ['PKG_USING_CONTROLLER'], CPPPATH = path)

Return('group')

0 comments on commit c2490ed

Please sign in to comment.