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