synched with trunk at revision 34793
[blender.git] / intern / opennl / 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 # External project, better not fix warnings.
28 remove_strict_flags()
29
30 set(INC
31         extern
32         superlu
33 )
34
35 set(SRC
36         intern/opennl.c
37         superlu/colamd.c
38         superlu/get_perm_c.c
39         superlu/heap_relax_snode.c
40         superlu/lsame.c
41         superlu/memory.c
42         superlu/mmd.c
43         superlu/relax_snode.c
44         superlu/scolumn_bmod.c
45         superlu/scolumn_dfs.c
46         superlu/scopy_to_ucol.c
47         superlu/sgssv.c
48         superlu/sgstrf.c
49         superlu/sgstrs.c
50         superlu/smemory.c
51         superlu/smyblas2.c
52         superlu/sp_coletree.c
53         superlu/sp_ienv.c
54         superlu/sp_preorder.c
55         superlu/spanel_bmod.c
56         superlu/spanel_dfs.c
57         superlu/spivotL.c
58         superlu/spruneL.c
59         superlu/ssnode_bmod.c
60         superlu/ssnode_dfs.c
61         superlu/ssp_blas2.c
62         superlu/ssp_blas3.c
63         superlu/strsv.c
64         superlu/superlu_timer.c
65         superlu/sutil.c
66         superlu/util.c
67         superlu/xerbla.c
68
69         extern/ONL_opennl.h
70         superlu/BLO_sys_types.h
71         superlu/Cnames.h
72         superlu/colamd.h
73         superlu/ssp_defs.h
74         superlu/supermatrix.h
75         superlu/util.h
76 )
77
78 blender_add_lib(bf_intern_opennl "${SRC}" "${INC}")