Merging trunk up to r39637.
[blender.git] / source / gameengine / Converter / 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 set(INC
28         .
29         ../BlenderRoutines
30         ../Expressions
31         ../GameLogic
32         ../Ketsji
33         ../Ketsji/KXNetwork
34         ../Network
35         ../Network/LoopBackNetwork
36         ../Physics/Bullet
37         ../Physics/Dummy
38         ../Physics/common
39         ../Rasterizer
40         ../Rasterizer/RAS_OpenGLRasterizer
41         ../Rasterizer/RAS_OpenGLRasterizer
42         ../SceneGraph
43         ../../blender
44         ../../blender/blenkernel
45         ../../blender/blenlib
46         ../../blender/blenloader
47         ../../blender/gpu
48         ../../blender/ikplugin
49         ../../blender/imbuf
50         ../../blender/makesdna
51         ../../blender/makesrna
52         ../../blender/windowmanager
53         ../../../extern/bullet2/src
54         ../../../extern/Eigen2
55         ../../../intern/container
56         ../../../intern/guardedalloc
57         ../../../intern/moto/include
58         ../../../intern/string
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}")