Trying to get the bullet re-org to work with Makefiles.
[blender-staging.git] / intern / elbeem / SConscript
1 #!/usr/bin/python
2 import sys
3 import os
4 Import('env')
5  
6 #if use_fluidsim=='false':
7 #   # print "El'Beem Fluid Simulation Disabled..." # debug
8 #   elbeem_env.Append (CPPPATH = user_options_dict['PNG_INCLUDE'])
9 #   elbeem_env.Append (CPPPATH = user_options_dict['SDL_INCLUDE'])
10 #   elbeem_env.Append(CPPDEFINES= 'ELBEEM_DUMMIES');
11 #   # dummy interface build
12 #   Sources = [ 
13 #       "intern/utilities.cpp",
14 #       "intern/blenderdummy.cpp"
15 #           ]; # sources
16
17 sources = env.Glob('intern/*.cpp')
18 sources.remove('intern'+os.sep+'blenderdummy.cpp')
19
20 defs = 'NOGUI ELBEEM_BLENDER=1'
21 if env['OURPLATFORM']=='win32-vc':
22     defs += ' USE_MSVC6FIXES'
23 incs = env['BF_PNG_INC'] + ' ' + env['BF_ZLIB_INC'] + ' ' +env['BF_SDL_INC']
24
25 env.BlenderLib ('bf_elbeem', sources, Split(incs), Split(defs), libtype='blender', priority=0 )