scons: don't compile minizip files whatsoever when SYSTEM_MINIZIP enabled
This commit is contained in:
parent
ec8cbcfc00
commit
bdbcc524bf
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue