2009-07-30 15:00:26 +00:00
|
|
|
#!/usr/bin/python
|
|
|
|
Import ('env')
|
|
|
|
|
|
|
|
sources = env.Glob('intern/*.cpp')
|
|
|
|
|
2010-02-01 18:39:41 +00:00
|
|
|
incs = ''
|
2009-07-30 15:00:26 +00:00
|
|
|
defs = ''
|
|
|
|
|
|
|
|
if env['WITH_BF_OPENMP']:
|
2010-02-01 18:39:41 +00:00
|
|
|
if env['OURPLATFORM'] == 'linuxcross':
|
|
|
|
incs += ' ' + env['BF_OPENMP_INC']
|
|
|
|
|
2009-07-30 15:00:26 +00:00
|
|
|
defs += ' PARALLEL=1'
|
|
|
|
|
2010-02-01 18:39:41 +00:00
|
|
|
incs += ' ' + env['BF_PNG_INC'] + ' ' + env['BF_ZLIB_INC']
|
2009-07-30 15:00:26 +00:00
|
|
|
incs += ' intern ../../extern/bullet2/src ../memutil ../guardealloc '
|
2009-08-09 10:55:25 +00:00
|
|
|
|
|
|
|
if env['WITH_BF_FFTW3']:
|
|
|
|
defs += ' FFTW3=1'
|
2009-08-09 11:02:47 +00:00
|
|
|
incs += env['BF_FFTW3_INC']
|
2009-07-30 15:00:26 +00:00
|
|
|
|
2010-09-07 05:47:34 +00:00
|
|
|
env.BlenderLib ('bf_intern_smoke', sources, Split(incs), Split(defs), libtype=['intern'], priority=[40] )
|