blob: 45050aff599cf347b9757dbbce5673f6e47b7dcd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/usr/bin/python
import sys
Import('env')
#if use_fluidsim=='false':
# # print "El'Beem Fluid Simulation Disabled..." # debug
# elbeem_env.Append (CPPPATH = user_options_dict['PNG_INCLUDE'])
# elbeem_env.Append (CPPPATH = user_options_dict['SDL_INCLUDE'])
# elbeem_env.Append(CPPDEFINES= 'ELBEEM_DUMMIES');
# # dummy interface build
# Sources = [
# "intern/utilities.cpp",
# "intern/blenderdummy.cpp"
# ]; # sources
sources = env.Glob('intern/*.cpp')
defs = 'NOGUI ELBEEM_BLENDER=1'
if sys.platform=='win32':
defs += ' USE_MSVC6FIXES'
incs = env['BF_PNG_INC'] + ' ' + env['BF_ZLIB_INC'] + ' ' +env['BF_SDL_INC']
env.BlenderLib ('blender_elbeem', sources, Split(incs), Split(defs), libtype='blender', priority=0 )
|