| 12345678910111213141516171819202122 |
- # RT-Thread building script for FreeType
- import os
- from building import *
- cwd = GetCurrentDir()
- list = os.listdir(cwd)
- GroupPath = cwd
- CPPDEFINES = ['FT2_BUILD_LIBRARY']
- src = []
- group = []
- group = DefineGroup('freetype', src, depend = ['RTGUI_USING_TTF'], CPPDEFINES=CPPDEFINES, GroupPath = GroupPath)
- if GetDepend('RTGUI_USING_TTF'):
- for d in list:
- path = os.path.join(cwd, d)
- if os.path.isfile(os.path.join(path, 'SConscript')):
- group = group + SConscript(os.path.join(d, 'SConscript'))
- Return('group')
|