3505cd2c05d4396742577368d18d2a3c09dbc728
[blender.git] / intern / smoke / 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): Daniel Genrich
24 #
25 # ***** END GPL LICENSE BLOCK *****
26
27 set(INC
28         intern
29         ../memutil
30         ../../extern/bullet2/src
31         ${PNG_INC}
32         ${ZLIB_INC}
33 )
34
35 set(SRC
36         intern/EIGENVALUE_HELPER.cpp
37         intern/FLUID_3D.cpp
38         intern/FLUID_3D_SOLVERS.cpp
39         intern/FLUID_3D_STATIC.cpp
40         intern/LU_HELPER.cpp
41         intern/SPHERE.cpp
42         intern/WTURBULENCE.cpp
43         intern/smoke_API.cpp
44
45         extern/smoke_API.h
46         intern/EIGENVALUE_HELPER.h
47         intern/FFT_NOISE.h
48         intern/FLUID_3D.h
49         intern/IMAGE.h
50         intern/INTERPOLATE.h
51         intern/LU_HELPER.h
52         intern/MERSENNETWISTER.h
53         intern/OBSTACLE.h
54         intern/SPHERE.h
55         intern/VEC3.h
56         intern/WAVELET_NOISE.h
57         intern/WTURBULENCE.h
58         intern/tnt/jama_eig.h
59         intern/tnt/jama_lu.h
60         intern/tnt/tnt.h
61         intern/tnt/tnt_array1d.h
62         intern/tnt/tnt_array1d_utils.h
63         intern/tnt/tnt_array2d.h
64         intern/tnt/tnt_array2d_utils.h
65         intern/tnt/tnt_array3d.h
66         intern/tnt/tnt_array3d_utils.h
67         intern/tnt/tnt_cmat.h
68         intern/tnt/tnt_fortran_array1d.h
69         intern/tnt/tnt_fortran_array1d_utils.h
70         intern/tnt/tnt_fortran_array2d.h
71         intern/tnt/tnt_fortran_array2d_utils.h
72         intern/tnt/tnt_fortran_array3d.h
73         intern/tnt/tnt_fortran_array3d_utils.h
74         intern/tnt/tnt_i_refvec.h
75         intern/tnt/tnt_math_utils.h
76         intern/tnt/tnt_sparse_matrix_csr.h
77         intern/tnt/tnt_stopwatch.h
78         intern/tnt/tnt_subscript.h
79         intern/tnt/tnt_vec.h
80         intern/tnt/tnt_version.h
81 )
82
83 if(WITH_OPENMP)
84                 add_definitions(-DPARALLEL=1)
85 endif()
86
87 if(WITH_FFTW3)
88         add_definitions(-DFFTW3=1)
89         list(APPEND INC ${FFTW3_INC})
90 endif()
91
92 blenderlib(bf_intern_smoke "${SRC}" "${INC}")
93