forked from bartvdbraak/blender
18 lines
419 B
Python
18 lines
419 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'] == 1:
|
|
defs += ' PARALLEL'
|
|
|
|
if env['OURPLATFORM']=='win32-vc':
|
|
defs += ' USE_MSVC6FIXES'
|
|
incs = env['BF_PNG_INC'] + ' ' + env['BF_ZLIB_INC'] + ' ' +env['BF_SDL_INC']
|
|
|
|
env.BlenderLib ('bf_elbeem', sources, Split(incs), Split(defs), libtype='blender', priority=0 )
|