scons: don't compile minizip files whatsoever when SYSTEM_MINIZIP enabled

This commit is contained in:
punkrockguy318 2013-03-11 01:37:17 +00:00
parent ec8cbcfc00
commit bdbcc524bf
1 changed files with 20 additions and 1 deletions

View File

@ -1,5 +1,24 @@
import glob
source_list = glob.glob('*.cpp')
#source_list = glob.glob('*.cpp')
source_list = Split(
"""
ConvertUTF.c
xstring.cpp
crc32.cpp
endian.cpp
general.cpp
guid.cpp
md5.cpp
memory.cpp
""")
Import('env')
if env['SYSTEM_MINIZIP'] == 0:
source_list.append('unzip.cpp')
source_list.append('unzip.h')
source_list.append('ioapi.cpp')
source_list.append('ioapi.h')
for x in range(len(source_list)):
source_list[x] = 'utils/' + source_list[x]