This commit is contained in:
刘可亮
2024-09-03 11:16:08 +08:00
parent cf270df8d6
commit 803cac77d5
2931 changed files with 614364 additions and 31222 deletions

19
packages/third-party/zlib/SConscript vendored Normal file
View File

@@ -0,0 +1,19 @@
# RT-Thread building script for zlib
from building import *
# get current directory
cwd = GetCurrentDir()
zlib_src = cwd + '/src'
src = Glob('src/*.c')
if GetDepend('LPKG_ZLIB_USING_SAMPLE'):
src += Glob('zlib_sample.c')
CPPPATH = [zlib_src]
group = DefineGroup('zlib', src, depend = ['LPKG_USING_ZLIB'], CPPPATH = CPPPATH)
Return('group')