Big i18n commit: add "reports" from bmesh/readfile/tracking/dynapaint (and a few...
[blender.git] / source / blender / editors / physics / CMakeLists.txt
1 # ***** BEGIN GPL LICENSE BLOCK *****
2 #
3 # This program is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU General Public License
5 # as published by the Free Software Foundation; either version 2
6 # of the License, or (at your option) any later version.
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11 # GNU General Public License for more details.
12 #
13 # You should have received a copy of the GNU General Public License
14 # along with this program; if not, write to the Free Software Foundation,
15 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16 #
17 # Contributor(s): Jacques Beaurain.
18 #
19 # ***** END GPL LICENSE BLOCK *****
20
21 set(INC
22         ../include
23         ../../blenfont
24         ../../blenkernel
25         ../../blenlib
26         ../../blenloader
27         ../../makesdna
28         ../../makesrna
29         ../../windowmanager
30         ../../../../intern/elbeem/extern
31         ../../../../intern/guardedalloc
32 )
33
34 set(INC_SYS
35         ${GLEW_INCLUDE_PATH}
36 )
37
38 set(SRC
39         dynamicpaint_ops.c
40         particle_boids.c
41         particle_edit.c
42         particle_object.c
43         physics_fluid.c
44         physics_ops.c
45         physics_pointcache.c
46
47         physics_intern.h
48 )
49
50 if(WITH_MOD_FLUID)
51         add_definitions(-DWITH_MOD_FLUID)
52 endif()
53
54 if(WITH_OPENMP)
55         add_definitions(-DPARALLEL=1)
56 endif()
57
58 if(WITH_INTERNATIONAL)
59         add_definitions(-DWITH_INTERNATIONAL)
60 endif()
61
62 blender_add_lib(bf_editor_physics "${SRC}" "${INC}" "${INC_SYS}")