rt-thread-official/components/external/lua/lua/SConscript

14 lines
245 B
Python

Import('rtconfig')
import os
from building import *
cwd = GetCurrentDir()
src = Glob('*.c')
CPPPATH = [cwd, str(Dir('#'))]
LIBS = ['m']
group = DefineGroup('lua', src, depend = ['RT_USING_LUA'], CPPPATH = CPPPATH, LIBS=LIBS)
Return('group')