5132b6a173
Thx Jens Verwiebe for the investigation!
20 lines
466 B
Python
20 lines
466 B
Python
#!/usr/bin/python
|
|
import sys
|
|
import os
|
|
Import('env')
|
|
|
|
sources = env.Glob('intern/*.cpp')
|
|
|
|
defs = 'NOGUI ELBEEM_BLENDER=1'
|
|
|
|
if env['WITH_BF_OPENMP']:
|
|
if env['OURPLATFORM'] != 'darwin':
|
|
defs += ' PARALLEL'
|
|
|
|
if env['OURPLATFORM'] in ('win32-vc', 'win64-vc'):
|
|
defs += ' USE_MSVC6FIXES'
|
|
incs = env['BF_PNG_INC'] + ' ' + env['BF_ZLIB_INC']
|
|
incs += ' extern '
|
|
|
|
env.BlenderLib ('bf_elbeem', sources, Split(incs), Split(defs), libtype='intern', priority=0 )
|