Code cleanup: simplify switch statement, ensure we catch missing enums.
[blender-staging.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(libmv)
31 add_subdirectory(memutil)
32 add_subdirectory(opencolorio)
33 add_subdirectory(mikktspace)
34 add_subdirectory(glew-mx)
35 add_subdirectory(eigen)
36
37 if(WITH_GAMEENGINE_DECKLINK)
38         add_subdirectory(decklink)
39 endif()
40
41 if(WITH_AUDASPACE)
42         add_subdirectory(audaspace)
43 endif()
44
45 if(WITH_MOD_REMESH)
46         add_subdirectory(dualcon)
47 endif()
48
49 if(WITH_MOD_FLUID)
50         add_subdirectory(elbeem)
51 endif()
52
53 if(WITH_MOD_SMOKE)
54         add_subdirectory(smoke)
55 endif()
56
57 if(WITH_IK_SOLVER)
58         add_subdirectory(iksolver)
59 endif()
60
61 if(WITH_IK_ITASC)
62         add_subdirectory(itasc)
63 endif()
64
65 if(WITH_GAMEENGINE)
66         add_subdirectory(moto)
67 endif()
68
69 if(WITH_CYCLES)
70         add_subdirectory(cycles)
71 endif()
72
73 if(WITH_INTERNATIONAL)
74         add_subdirectory(locale)
75 endif()
76
77 if(WITH_BULLET)
78         add_subdirectory(rigidbody)
79 endif()
80
81 if(WITH_OPENSUBDIV)
82         add_subdirectory(opensubdiv)
83 endif()
84
85 # only windows needs utf16 converter
86 # gpudirect is a runtime interface to the nVidia's DVP driver, only for windows
87 if(WIN32)
88         add_subdirectory(utfconv)
89         add_subdirectory(gpudirect)
90 endif()
91
92 if(WITH_OPENVDB)
93         add_subdirectory(openvdb)
94 endif()