2015-01-31 11:13:50 +08:00
|
|
|
from building import *
|
|
|
|
import rtconfig
|
|
|
|
|
|
|
|
src = Glob('*.c')
|
|
|
|
cwd = GetCurrentDir()
|
|
|
|
group = []
|
|
|
|
|
|
|
|
CPPPATH = [cwd]
|
|
|
|
CPPDEFINES = ['RT_USING_DLIBC']
|
|
|
|
|
|
|
|
if rtconfig.PLATFORM == 'iar':
|
|
|
|
group = DefineGroup('dlib', src, depend = ['RT_USING_LIBC'],
|
2015-01-31 21:59:58 +08:00
|
|
|
CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES)
|
2015-01-31 11:13:50 +08:00
|
|
|
|
|
|
|
Return('group')
|