c882f5186e3f010f2b5cd476e183ae52c8e96d8f
[blender.git] / intern / elbeem / SConscript
1 #!/usr/bin/python
2 Import ('library_env')
3 Import('user_options_dict');
4
5 # print "Including El'Beem Fluid Simulation..." # debug
6 elbeem_env = library_env.Copy();
7 elbeem_env.Append(CPPDEFINES= 'NOGUI');
8 elbeem_env.Append(CPPDEFINES= [('ELBEEM_BLENDER',1)] );
9   
10 elbeem_env.Append (CPPPATH = user_options_dict['PNG_INCLUDE'])
11 elbeem_env.Append (CPPPATH = user_options_dict['Z_INCLUDE'])
12 elbeem_env.Append (CPPPATH = user_options_dict['SDL_INCLUDE'])
13
14
15 # main build----------------------------------------
16
17 Sources = [ 
18
19         "intern/cfgparser.cpp",
20         "intern/cfglexer.cpp",
21
22         "intern/attributes.cpp",
23         "intern/elbeem.cpp",
24         "intern/factory_fsgr.cpp",
25         "intern/isosurface.cpp",
26         "intern/lbminterface.cpp",
27         "intern/ntl_blenderdumper.cpp",
28         "intern/ntl_bsptree.cpp",
29         "intern/ntl_geometrymodel.cpp",
30         "intern/ntl_geometryobject.cpp",
31         "intern/ntl_lightobject.cpp",
32         "intern/ntl_ray.cpp",
33         "intern/ntl_raytracer.cpp",
34         "intern/ntl_scene.cpp",
35         "intern/parametrizer.cpp",
36         "intern/particletracer.cpp",
37         "intern/simulation_object.cpp",
38         "intern/utilities.cpp",
39         "intern/blendercall.cpp"
40
41                 ]; # sources
42
43 elbeem_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_elbeem', source=Sources)
44