Cycles: svn merge -r41225:41232 ^/trunk/blender
[blender.git] / source / gameengine / Converter / 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 set(INC
27         .
28         ../BlenderRoutines
29         ../Expressions
30         ../GameLogic
31         ../Ketsji
32         ../Ketsji/KXNetwork
33         ../Network
34         ../Network/LoopBackNetwork
35         ../Physics/Bullet
36         ../Physics/Dummy
37         ../Physics/common
38         ../Rasterizer
39         ../Rasterizer/RAS_OpenGLRasterizer
40         ../Rasterizer/RAS_OpenGLRasterizer
41         ../SceneGraph
42         ../../blender
43         ../../blender/blenkernel
44         ../../blender/blenlib
45         ../../blender/blenloader
46         ../../blender/gpu
47         ../../blender/ikplugin
48         ../../blender/imbuf
49         ../../blender/makesdna
50         ../../blender/makesrna
51         ../../blender/windowmanager
52         ../../../extern/bullet2/src
53         ../../../extern/Eigen2
54         ../../../intern/container
55         ../../../intern/guardedalloc
56         ../../../intern/moto/include
57         ../../../intern/string
58         ../../../extern/recastnavigation/Detour/Include
59 )
60
61 set(INC_SYS
62
63 )
64
65 set(SRC
66         BL_ActionActuator.cpp
67         BL_ArmatureActuator.cpp
68         BL_ArmatureChannel.cpp
69         BL_ArmatureConstraint.cpp
70         BL_ArmatureObject.cpp
71         BL_BlenderDataConversion.cpp
72         BL_DeformableGameObject.cpp
73         BL_MeshDeformer.cpp
74         BL_ModifierDeformer.cpp
75         BL_ShapeActionActuator.cpp
76         BL_ShapeDeformer.cpp
77         BL_SkinDeformer.cpp
78         BlenderWorldInfo.cpp
79         KX_BlenderScalarInterpolator.cpp
80         KX_BlenderSceneConverter.cpp
81         KX_ConvertActuators.cpp
82         KX_ConvertControllers.cpp
83         KX_ConvertProperties.cpp
84         KX_ConvertSensors.cpp
85         KX_IpoConvert.cpp
86         KX_SoftBodyDeformer.cpp
87
88         BL_ActionActuator.h
89         BL_ArmatureActuator.h
90         BL_ArmatureChannel.h
91         BL_ArmatureConstraint.h
92         BL_ArmatureObject.h
93         BL_BlenderDataConversion.h
94         BL_DeformableGameObject.h
95         BL_MeshDeformer.h
96         BL_ModifierDeformer.h
97         BL_ShapeActionActuator.h
98         BL_ShapeDeformer.h
99         BL_SkinDeformer.h
100         BlenderWorldInfo.h
101         KX_BlenderScalarInterpolator.h
102         KX_BlenderSceneConverter.h
103         KX_ConvertActuators.h
104         KX_ConvertControllers.h
105         KX_ConvertProperties.h
106         KX_ConvertSensors.h
107         KX_IpoConvert.h
108         KX_SoftBodyDeformer.h
109 )
110
111 if(WITH_BULLET)
112         add_definitions(-DUSE_BULLET)
113 endif()
114
115 if(WITH_AUDASPACE)
116         list(APPEND INC
117                 ../../../intern/audaspace/intern
118         )
119         add_definitions(-DWITH_AUDASPACE)
120 endif()
121
122 blender_add_lib(ge_converter "${SRC}" "${INC}" "${INC_SYS}")