2005-09-18 13:27:12 +00:00
|
|
|
#!/usr/bin/python
|
|
|
|
Import ('library_env')
|
|
|
|
Import('user_options_dict');
|
|
|
|
|
|
|
|
print "Including El'Beem Fluid Simulation..."
|
|
|
|
elbeem_env = library_env.Copy();
|
2005-09-21 13:30:39 +00:00
|
|
|
elbeem_env.Append(CPPDEFINES= 'NOGUI');
|
|
|
|
elbeem_env.Append(CPPDEFINES= 'ELBEEM_BLENDER=1');
|
2005-09-18 13:27:12 +00:00
|
|
|
|
|
|
|
elbeem_env.Append (CPPPATH = user_options_dict['PNG_INCLUDE'])
|
|
|
|
elbeem_env.Append (CPPPATH = user_options_dict['Z_INCLUDE'])
|
|
|
|
elbeem_env.Append (CPPPATH = user_options_dict['SDL_INCLUDE'])
|
|
|
|
|
2005-09-23 14:42:14 +00:00
|
|
|
|
2005-09-18 13:27:12 +00:00
|
|
|
# main build----------------------------------------
|
|
|
|
|
|
|
|
Sources = [
|
|
|
|
|
|
|
|
"intern/cfgparser.cpp",
|
|
|
|
"intern/cfglexer.cpp",
|
|
|
|
|
|
|
|
"intern/attributes.cpp",
|
|
|
|
"intern/elbeem.cpp",
|
|
|
|
"intern/factory_fsgr.cpp",
|
|
|
|
"intern/isosurface.cpp",
|
|
|
|
"intern/lbminterface.cpp",
|
|
|
|
"intern/ntl_blenderdumper.cpp",
|
|
|
|
"intern/ntl_bsptree.cpp",
|
|
|
|
"intern/ntl_geometrybox.cpp",
|
|
|
|
"intern/ntl_geometrymodel.cpp",
|
|
|
|
"intern/ntl_geometryobject.cpp",
|
|
|
|
"intern/ntl_geometrysphere.cpp",
|
|
|
|
"intern/ntl_image.cpp",
|
|
|
|
"intern/ntl_lightobject.cpp",
|
|
|
|
"intern/ntl_ray.cpp",
|
|
|
|
"intern/ntl_raytracer.cpp",
|
|
|
|
"intern/ntl_scene.cpp",
|
|
|
|
"intern/parametrizer.cpp",
|
|
|
|
"intern/particletracer.cpp",
|
|
|
|
"intern/simulation_object.cpp",
|
|
|
|
"intern/utilities.cpp",
|
|
|
|
"intern/blendercall.cpp"
|
|
|
|
|
|
|
|
]; # sources
|
|
|
|
|
|
|
|
elbeem_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_elbeem', source=Sources)
|
|
|
|
|