4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-16 13:33:31 +08:00
2017-12-31 16:43:08 +08:00

13 lines
250 B
Python

# RT-Thread building script for component
from building import *
cwd = GetCurrentDir()
src = Glob('*.c') + Glob('*.cpp')
CPPPATH = [cwd]
group = DefineGroup('pthreads', src,
depend = ['RT_USING_PTHREADS'], CPPPATH = CPPPATH)
Return('group')