8d6f3fa0a9fa5e74fe9d740b4c0423649c20023f
[blender.git] / intern / elbeem / CMakeLists.txt
1 # $Id$
2 # ***** BEGIN GPL LICENSE BLOCK *****
3 #
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU General Public License
6 # as published by the Free Software Foundation; either version 2
7 # of the License, or (at your option) any later version.
8 #
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 # GNU General Public License for more details.
13 #
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software Foundation,
16 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17 #
18 # The Original Code is Copyright (C) 2006, Blender Foundation
19 # All rights reserved.
20 #
21 # The Original Code is: all of this file.
22 #
23 # Contributor(s): Jacques Beaurain.
24 #
25 # ***** END GPL LICENSE BLOCK *****
26
27 set(INC
28         extern
29         ${PNG_INC}
30         ${ZLIB_INC}
31 )
32
33 set(SRC
34         intern/attributes.cpp
35         intern/controlparticles.cpp
36         intern/elbeem.cpp
37         intern/elbeem_control.cpp
38         intern/isosurface.cpp
39         intern/mvmcoords.cpp
40         intern/ntl_blenderdumper.cpp
41         intern/ntl_bsptree.cpp
42         intern/ntl_geometrymodel.cpp
43         intern/ntl_geometryobject.cpp
44         intern/ntl_lighting.cpp
45         intern/ntl_ray.cpp
46         intern/ntl_world.cpp
47         intern/parametrizer.cpp
48         intern/particletracer.cpp
49         intern/simulation_object.cpp
50         intern/solver_adap.cpp
51         intern/solver_control.cpp
52         intern/solver_init.cpp
53         intern/solver_interface.cpp
54         intern/solver_main.cpp
55         intern/solver_util.cpp
56         intern/utilities.cpp
57
58         extern/LBM_fluidsim.h
59         extern/elbeem.h
60         intern/attributes.h
61         intern/controlparticles.h
62         intern/elbeem_control.h
63         intern/isosurface.h
64         intern/loop_tools.h
65         intern/mcubes_tables.h
66         intern/mvmcoords.h
67         intern/ntl_blenderdumper.h
68         intern/ntl_bsptree.h
69         intern/ntl_geometryclass.h
70         intern/ntl_geometrymodel.h
71         intern/ntl_geometryobject.h
72         intern/ntl_geometryshader.h
73         intern/ntl_lighting.h
74         intern/ntl_matrices.h
75         intern/ntl_ray.h
76         intern/ntl_vector3dim.h
77         intern/ntl_world.h
78         intern/paraloopend.h
79         intern/parametrizer.h
80         intern/particletracer.h
81         intern/simulation_object.h
82         intern/solver_class.h
83         intern/solver_control.h
84         intern/solver_interface.h
85         intern/solver_relax.h
86         intern/utilities.h
87 )
88
89 add_definitions(-DNOGUI -DELBEEM_BLENDER=1)
90 if(WINDOWS)
91                 add_definitions(-DUSE_MSVC6FIXES)
92 endif()
93
94 if(WITH_OPENMP)
95                 add_definitions(-DPARALLEL=1)
96 endif()
97
98 blenderlib_nolist(bf_intern_elbeem "${SRC}" "${INC}")