2005-09-18 13:27:12 +00:00
|
|
|
#!/usr/bin/python
|
2006-02-04 14:15:10 +00:00
|
|
|
import sys
|
2006-02-07 21:12:01 +00:00
|
|
|
import os
|
2006-02-27 11:48:25 +00:00
|
|
|
Import('env')
|
2006-02-04 14:15:10 +00:00
|
|
|
|
|
|
|
sources = env.Glob('intern/*.cpp')
|
|
|
|
|
2010-02-01 18:39:41 +00:00
|
|
|
incs = ''
|
2008-09-22 10:21:57 +00:00
|
|
|
defs = 'NOGUI ELBEEM_BLENDER=1'
|
2008-01-29 21:01:12 +00:00
|
|
|
|
2008-10-22 11:28:10 +00:00
|
|
|
if env['WITH_BF_OPENMP']:
|
2010-02-01 18:39:41 +00:00
|
|
|
if env['OURPLATFORM'] == 'linuxcross':
|
|
|
|
incs += ' ' + env['BF_OPENMP_INC']
|
|
|
|
|
2009-12-17 17:05:28 +00:00
|
|
|
defs += ' PARALLEL'
|
2008-01-29 21:01:12 +00:00
|
|
|
|
2009-07-16 19:41:28 +00:00
|
|
|
if env['OURPLATFORM'] in ('win32-vc', 'win64-vc'):
|
2006-02-04 14:15:10 +00:00
|
|
|
defs += ' USE_MSVC6FIXES'
|
2010-02-01 18:39:41 +00:00
|
|
|
incs += ' ' + env['BF_PNG_INC'] + ' ' + env['BF_ZLIB_INC']
|
2008-07-04 15:23:21 +00:00
|
|
|
incs += ' extern '
|
2006-02-04 14:15:10 +00:00
|
|
|
|
2008-12-23 16:07:24 +00:00
|
|
|
env.BlenderLib ('bf_elbeem', sources, Split(incs), Split(defs), libtype='intern', priority=0 )
|