4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-16 07:49:30 +08:00

14 lines
324 B
Python
Raw Normal View History

from building import *
cwd = GetCurrentDir()
src = Glob('*.c')
CPPPATH = [cwd + '/Include']
LIBPATH = [cwd + '/Lib']
CPPDEFINES = ['WIN32']
LIBS = ['wpcap']
group = DefineGroup('Pcap', src, depend = ['RT_USING_LWIP'], CPPPATH = CPPPATH, LIBPATH=LIBPATH, CPPDEFINES=CPPDEFINES, LIBS=LIBS)
Return('group')