2009-05-10 11:09:42 +00:00
|
|
|
# -*- python -*-
|
2010-07-19 03:42:37 +00:00
|
|
|
|
2009-05-10 11:09:42 +00:00
|
|
|
Import('env')
|
|
|
|
|
2010-08-01 16:30:22 +00:00
|
|
|
if env.has_key('shared_soil') and env['shared_soil']:
|
2011-02-04 00:46:56 +00:00
|
|
|
env['LIBS'] += 'SOIL'
|
2010-08-01 16:30:22 +00:00
|
|
|
Return()
|
|
|
|
|
2009-05-10 11:09:42 +00:00
|
|
|
files = [
|
|
|
|
'image_DXT.c',
|
|
|
|
'image_helper.c',
|
|
|
|
'SOIL.c',
|
|
|
|
'stb_image_aug.c'
|
|
|
|
]
|
|
|
|
|
2010-08-01 16:30:22 +00:00
|
|
|
env['CPPPATH'] += ['#Externals/SOIL']
|
2011-02-04 00:46:56 +00:00
|
|
|
env['LIBS'] += env.StaticObject(files)
|