CMake Build: option to compile without opennl/superlu.
[blender.git] / intern / 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 # The Original Code is Copyright (C) 2006, Blender Foundation
18 # All rights reserved.
19 #
20 # The Original Code is: all of this file.
21 #
22 # Contributor(s): Jacques Beaurain.
23 #
24 # ***** END GPL LICENSE BLOCK *****
25
26 # add_subdirectory(atomic)  # header only
27 add_subdirectory(string)
28 add_subdirectory(ghost)
29 add_subdirectory(guardedalloc)
30 add_subdirectory(memutil)
31 add_subdirectory(opencolorio)
32 add_subdirectory(mikktspace)
33 add_subdirectory(raskter)
34
35 if(WITH_AUDASPACE)
36         add_subdirectory(audaspace)
37 endif()
38
39 if(WITH_MOD_REMESH)
40         add_subdirectory(dualcon)
41 endif()
42
43 if(WITH_MOD_FLUID)
44         add_subdirectory(elbeem)
45 endif()
46
47 if(WITH_MOD_SMOKE)
48         add_subdirectory(smoke)
49 endif()
50
51 if(WITH_MOD_BOOLEAN)
52         add_subdirectory(bsp)
53 endif()
54
55 if(WITH_IK_SOLVER)
56         add_subdirectory(iksolver)
57 endif()
58
59 if(WITH_IK_ITASC)
60         add_subdirectory(itasc)
61 endif()
62
63 if(WITH_IK_SOLVER OR WITH_GAMEENGINE OR WITH_MOD_BOOLEAN)
64         add_subdirectory(moto)
65 endif()
66
67 if(WITH_CYCLES)
68         add_subdirectory(cycles)
69 endif()
70
71 if(WITH_INTERNATIONAL)
72         add_subdirectory(locale)
73 endif()
74
75 if(WITH_BULLET)
76         add_subdirectory(rigidbody)
77 endif()
78
79 if(WITH_COMPOSITOR)
80         add_subdirectory(opencl)
81 endif()
82
83 if(WITH_OPENNL)
84         add_subdirectory(opennl)
85 endif()
86
87 # only windows needs utf16 converter
88 if(WIN32)
89         add_subdirectory(utfconv)
90 endif()
91