rt-thread-official/components/utilities/resource/SConscript

13 lines
284 B
Python

from building import *
cwd = GetCurrentDir()
src = Glob('*.c')
CPPPATH = [cwd]
if GetDepend('RT_USING_ADT_BITMAP') == False:
SrcRemove(src, ['rid_bitmap.c'])
group = DefineGroup('Utilities', src, depend = ['RT_USING_RESOURCE_ID'], CPPPATH = CPPPATH)
Return('group')